File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 38
38
- name : Install tox
39
39
run : |
40
40
python -m pip install tox
41
- - name : Disable coverage on PyPy
42
- # Coverage seems to slow things down on PyPy (ubuntu is still OK-ish)
43
- if : contains(matrix.python, 'pypy') && matrix.platform != 'ubuntu-latest'
44
- shell : bash
45
- run : echo 'PYTEST_ADDOPTS=-p no:cov' >> $GITHUB_ENV
46
41
- name : Run tests
47
42
run : tox -- --cov-report xml
48
43
- name : Publish coverage
Original file line number Diff line number Diff line change @@ -46,7 +46,9 @@ testing =
46
46
pytest-black >= 0.3.7; \
47
47
# workaround for jaraco/skeleton#22
48
48
python_implementation != " PyPy"
49
- pytest-cov
49
+ pytest-cov; \
50
+ # coverage seems to make PyPy extremely slow
51
+ python_implementation != " PyPy"
50
52
pytest-mypy >= 0.9.1; \
51
53
# workaround for jaraco/skeleton#22
52
54
python_implementation != " PyPy"
You can’t perform that action at this time.
0 commit comments