summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml5
-rw-r--r--setup.cfg4
2 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6fa600e9..c985f851 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -38,11 +38,6 @@ jobs:
- name: Install tox
run: |
python -m pip install tox
- - name: Disable coverage on PyPy
- # Coverage seems to slow things down on PyPy (ubuntu is still OK-ish)
- if: contains(matrix.python, 'pypy') && matrix.platform != 'ubuntu-latest'
- shell: bash
- run: echo 'PYTEST_ADDOPTS=-p no:cov' >> $GITHUB_ENV
- name: Run tests
run: tox -- --cov-report xml
- name: Publish coverage
diff --git a/setup.cfg b/setup.cfg
index 555038c4..78ee4725 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -46,7 +46,9 @@ testing =
pytest-black >= 0.3.7; \
# workaround for jaraco/skeleton#22
python_implementation != "PyPy"
- pytest-cov
+ pytest-cov; \
+ # coverage seems to make PyPy extremely slow
+ python_implementation != "PyPy"
pytest-mypy >= 0.9.1; \
# workaround for jaraco/skeleton#22
python_implementation != "PyPy"