summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-07-10 23:02:05 -0400
committerJason R. Coombs <jaraco@jaraco.com>2021-07-10 23:02:05 -0400
commit725be0142b64fd5e26ae7ed16bd4897fd4d8f530 (patch)
treee9c947f694560a779671d1cba2a343918b9c9b52 /.github
parent8d252d30019d248e0e5cfbbc911280b9a8c0c95e (diff)
downloadpython-setuptools-git-725be0142b64fd5e26ae7ed16bd4897fd4d8f530.tar.gz
Produce coverage report using the default filename and upload coverage reports using the default filename.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 69ae9f8d..0e4a46ce 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -19,11 +19,10 @@ jobs:
run: |
python -m pip install tox
- name: Run tests
- run: tox -- --junit-xml=.test-results/pytest/cov.xml
+ run: tox -- --cov-report xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
- file: .test-results/pytest/cov.xml # Explicitly point at the correct coverage report
flags: >- # Mark which lines are covered by which envs
GHA,
${{ runner.os }},