File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,4 +3,10 @@ coverage:
33 status :
44 project :
55 default :
6+ informational : true # Treat coverage info as informational only
67 threshold : 0.5%
8+ patch :
9+ default :
10+ informational : true # Treat coverage info as informational only
11+ github_checks :
12+ annotations : false # Codecov may pollute the "files" diff view
Original file line number Diff line number Diff line change 4343 run : |
4444 python -m pip install tox
4545 - name : Run tests
46- run : tox -- --cov-report xml
46+ run : tox
47+ - name : Create coverage report
48+ if : hashFiles('.coverage') != '' # Rudimentary `file.exists()`
49+ run : pipx run coverage xml --ignore-errors
4750 - name : Publish coverage
48- if : false # disabled for #2727
51+ if : hashFiles('coverage.xml') != '' # Rudimentary `file.exists()`
4952 uses : codecov/codecov-action@v1
5053 with :
5154 flags : >- # Mark which lines are covered by which envs
Original file line number Diff line number Diff line change @@ -46,7 +46,9 @@ testing =
4646 pytest-black >= 0.3.7; \
4747 # workaround for jaraco/skeleton#22
4848 python_implementation != " PyPy"
49- pytest-cov
49+ pytest-cov; \
50+ # coverage seems to make PyPy extremely slow
51+ python_implementation != " PyPy"
5052 pytest-mypy >= 0.9.1; \
5153 # workaround for jaraco/skeleton#22
5254 python_implementation != " PyPy"
You can’t perform that action at this time.
0 commit comments