summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-08-09 08:30:15 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-08-09 08:30:15 -0400
commit15945f2408efaf164a3a78f67ef74a74d557fa82 (patch)
tree527c852b96d3911393e12e8a4dbd716bb1204437 /.github
parent5a4f125853b5056f98d80162687b6d1eace38ea1 (diff)
downloadpython-coveragepy-git-15945f2408efaf164a3a78f67ef74a74d557fa82.tar.gz
test: show contexts in metacov report
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/coverage.yml12
1 files changed, 2 insertions, 10 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index f8aca5cb..7b61deda 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -70,22 +70,13 @@ jobs:
- name: "Run tox coverage for ${{ matrix.python-version }}"
env:
COVERAGE_COVERAGE: "yes"
+ COVERAGE_CONTEXT: "${{ matrix.python-version }}.${{ matrix.os }}"
run: |
set -xe
# Something about pytest 6.x with xdist keeps data from collecting.
# Use -n0 for now.
python -m tox -- -n 0
- - name: "Combine"
- env:
- COVERAGE_COVERAGE: "yes"
- COVERAGE_RCFILE: "metacov.ini"
- COVERAGE_METAFILE: ".metacov"
- run: |
- set -xe
- COVERAGE_DEBUG=dataio python -m igor combine_html
- mv .metacov .metacov.${{ matrix.python-version }}.${{ matrix.os }}
-
- name: "Upload coverage data"
uses: actions/upload-artifact@v2
with:
@@ -126,6 +117,7 @@ jobs:
env:
COVERAGE_RCFILE: "metacov.ini"
COVERAGE_METAFILE: ".metacov"
+ COVERAGE_CONTEXT: "yes"
run: |
set -xe
python -m igor combine_html