Skip to content

Commit

Permalink
Move codecoverage upload to seperate job
Browse files Browse the repository at this point in the history
  • Loading branch information
pvandyken committed Feb 20, 2024
1 parent 35cc8e0 commit 269e460
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 269e460

Please sign in to comment.