From 15945f2408efaf164a3a78f67ef74a74d557fa82 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 9 Aug 2021 08:30:15 -0400 Subject: test: show contexts in metacov report --- .github/workflows/coverage.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to '.github') 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 -- cgit v1.2.1