Skip to content

Commit

Permalink
Merge pull request caikit#246 from dtrifiro/print-test-durations
Browse files Browse the repository at this point in the history
tox: run pytest with --durations flag to list tests run time
  • Loading branch information
evaline-ju committed Oct 27, 2023
2 parents 4f42230 + 00583eb commit 06d2064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ passenv =
LOG_FORMATTER
LOG_THREAD_ID
LOG_CHANNEL_WIDTH
commands = pytest --cov=caikit_nlp --cov-report=term --cov-report=html {posargs:tests}
commands = pytest --durations=42 --cov=caikit_nlp --cov-report=term --cov-report=html {posargs:tests}

; Unclear: We probably want to test wheel packaging
; But! tox will fail when this is set and _any_ interpreter is missing
Expand Down

0 comments on commit 06d2064

Please sign in to comment.