Skip to content

Commit 1e2aa11

Browse files
authored
Travis CI: Identify our ten slowest tests
https://howchoo.com/g/mtblodnjzjc/how-to-measure-unit-test-execution-times-in-pytest helps us to find the individual tests that are slowing down our Travis CI checks.
1 parent 5cfc017 commit 1e2aa11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ before_script:
1515
- pip install -r requirements.txt # fast fail on black, flake8, validate_filenames
1616
script:
1717
- mypy --ignore-missing-imports .
18-
- pytest --doctest-modules --cov-report=term-missing:skip-covered --cov=. .
18+
- pytest --doctest-modules --durations=10 --cov-report=term-missing:skip-covered --cov=. .
1919
after_success:
2020
- scripts/build_directory_md.py 2>&1 | tee DIRECTORY.md

0 commit comments

Comments
 (0)