Skip to content

Commit

Permalink
Merge pull request #521 from mih/tst-durations
Browse files Browse the repository at this point in the history
Let pytest report the TOP20 of slowest tests
  • Loading branch information
mih authored Oct 27, 2023
2 parents 1a767c7 + 11bca77 commit 1a3b34c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,9 @@ test_script:
- sh: mkdir __testhome__
- cd __testhome__
# run test selecion (--traverse-namespace needed from Python 3.8 onwards)
- cmd: python -m pytest -s -v -m "not (turtle)" -k "%KEYWORDS%" --cov=datalad_next --pyargs %DTS%
- cmd: python -m pytest -s -v --durations 20 -m "not (turtle)" -k "%KEYWORDS%" --cov=datalad_next --pyargs %DTS%
# also add --cov datalad, because some core test runs may not touch -next code
- sh: python -m pytest -s -v -m "not (turtle)" -k "$KEYWORDS" --cov=datalad_next --cov datalad --cov-config=../.coveragerc --pyargs ${DTS}
- sh: python -m pytest -s -v --durations 20 -m "not (turtle)" -k "$KEYWORDS" --cov=datalad_next --cov datalad --cov-config=../.coveragerc --pyargs ${DTS}


after_test:
Expand Down

0 comments on commit 1a3b34c

Please sign in to comment.