diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81ce75c..bf8a3a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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