File tree Expand file tree Collapse file tree 5 files changed +7
-29
lines changed Expand file tree Collapse file tree 5 files changed +7
-29
lines changed Original file line number Diff line number Diff line change 5959 - name : Run tests
6060 run : tools/ci/check.sh
6161 if : ${{ matrix.check != 'skiptests' }}
62- - name : Submit coverage
63- run : tools/ci/submit_coverage.sh
64- if : ${{ always() }}
6562 - name : Upload pytest test results
6663 uses : actions/upload-artifact@v3
6764 with :
Original file line number Diff line number Diff line change 8787 - name : Run tests
8888 run : tools/ci/check.sh
8989 if : ${{ matrix.check != 'skiptests' }}
90- - name : Submit coverage
91- run : tools/ci/submit_coverage.sh
90+ - uses : codecov/codecov-action@v3
9291 if : ${{ always() }}
92+ with :
93+ files : cov.xml
9394 - name : Upload pytest test results
9495 uses : actions/upload-artifact@v3
9596 with :
Original file line number Diff line number Diff line change @@ -181,9 +181,10 @@ jobs:
181181 - name : Run tests
182182 if : ${{ matrix.check != 'skiptests' }}
183183 run : tools/ci/check.sh
184- - name : Submit coverage
184+ - uses : codecov/codecov-action@v3
185185 if : ${{ always() }}
186- run : tools/ci/submit_coverage.sh
186+ with :
187+ files : cov.xml
187188 - name : Upload pytest test results
188189 if : ${{ always() && matrix.check == 'test' }}
189190 uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ elif [ "${CHECK_TYPE}" == "test" ]; then
2323 mkdir for_testing
2424 cd for_testing
2525 cp ../.coveragerc .
26- pytest --doctest-modules --doctest-plus --cov nibabel --cov-report xml \
26+ pytest --doctest-modules --doctest-plus --cov nibabel --cov-report xml:../cov.xml \
2727 --junitxml=test-results.xml -v --pyargs nibabel -n auto
2828elif [ " ${CHECK_TYPE} " == " typing" ]; then
2929 mypy nibabel
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments