Skip to content

Commit

Permalink
Adjust coverage requirements for PyPy
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Jul 3, 2023
1 parent fdb22cd commit 705a4a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ jobs:
run: coverage run -m pytest tests

- name: Check test coverage
run: coverage report -m --fail-under=100
run: coverage report -m --fail-under=${{ (matrix.python-version == 'pypy3.10') && 99 || 100 }}
# pypy3.10 thinks utils.py has one uncovered branch (140 -> 133), which
# I think is just pypy's optimizer being too smart for coverage.py.

- name: Report to coveralls
run: coveralls
Expand Down

0 comments on commit 705a4a1

Please sign in to comment.