From 269e4602f920fd09f0fd9ae30a02280526b43697 Mon Sep 17 00:00:00 2001 From: Peter Van Dyken Date: Tue, 20 Feb 2024 15:34:59 -0500 Subject: [PATCH] Move codecoverage upload to seperate job --- .github/workflows/test.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cd5a4c60..b751c3c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -89,8 +89,22 @@ jobs: --doctest-modules --ignore=docs --ignore=snakebids/project_template --benchmark-disable + - name: save coverage report + uses: actions/upload-artifact@v4 + with: + name: coverage-${{ matrix.python-version }}-${{ matrix.split }} + path: ./coverage.xml + + upload_coverage: + runs-on: ubuntu-latest + needs: [ 'test' ] + steps: + - name: checkout repository + uses: actions/checkout@v4 + - name: download coverage reports + uses: actions/download-artifact@v4 - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: verbose: true env: