Skip to content

Commit

Permalink
Maint: Show test duration and limit to 15 failures.
Browse files Browse the repository at this point in the history
I don't think it is worth contiuing testing if there is more than 15
failures.

Also show the 10 slowest test, I'm hopping that will give us insight
into how to make testing faster.
  • Loading branch information
Carreau committed Sep 19, 2024
1 parent 7ac31c4 commit f816184
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ jobs:
run: |
pytest -v \
--cov=micropip \
--durations=10 \
--dist-dir=./dist/ \
--maxfail=15 \
--runner=${{ matrix.test-config.runner }} \
--rt ${{ matrix.test-config.runtime }}
Expand Down

0 comments on commit f816184

Please sign in to comment.