summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2022-02-15 23:47:16 +0000
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2022-02-15 23:47:16 +0000
commit2bd13ae65e6cb502c48a1e0bed86fcb3e2d2c5b8 (patch)
tree139843653f56cb37e234784e8619569cfa2d2798 /.github/workflows
parentad29c0a3ae83088ce7c246b0d0985e3bcd0a103f (diff)
downloadpython-setuptools-git-2bd13ae65e6cb502c48a1e0bed86fcb3e2d2c5b8.tar.gz
Skip pytest-cov in setup.cfg for PyPy
Instead of disabling coverage in the GitHub workflow it might be easier to just not install it in the test environment.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml5
1 files changed, 0 insertions, 5 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