summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-02-17 19:09:57 -0500
committerGitHub <noreply@github.com>2022-02-17 19:09:57 -0500
commit11814409491d4323f2a179b45904dff8535d5b6f (patch)
treef1139de703bc82ec91e749bea9fd078773bbb0e5 /.github
parentba029eee64885f2772f0ae87a32f0194c39e09a1 (diff)
parent71088995134755112b6a0f342048e10b2a35e458 (diff)
downloadpython-setuptools-git-11814409491d4323f2a179b45904dff8535d5b6f.tar.gz
Merge pull request #3112 from abravalheri/disable-coverage-pypy
Disable coverage on PyPy
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 2960ed3b..c680fb36 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -43,9 +43,12 @@ jobs:
run: |
python -m pip install tox
- name: Run tests
- run: tox -- --cov-report xml
+ run: tox
+ - name: Create coverage report
+ if: hashFiles('.coverage') != '' # Rudimentary `file.exists()`
+ run: pipx run coverage xml --ignore-errors
- name: Publish coverage
- if: false # disabled for #2727
+ if: hashFiles('coverage.xml') != '' # Rudimentary `file.exists()`
uses: codecov/codecov-action@v1
with:
flags: >- # Mark which lines are covered by which envs