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 59
59
- name : Run tests
60
60
run : tools/ci/check.sh
61
61
if : ${{ matrix.check != 'skiptests' }}
62
- - name : Submit coverage
63
- run : tools/ci/submit_coverage.sh
64
- if : ${{ always() }}
65
62
- name : Upload pytest test results
66
63
uses : actions/upload-artifact@v3
67
64
with :
Original file line number Diff line number Diff line change 87
87
- name : Run tests
88
88
run : tools/ci/check.sh
89
89
if : ${{ matrix.check != 'skiptests' }}
90
- - name : Submit coverage
91
- run : tools/ci/submit_coverage.sh
90
+ - uses : codecov/codecov-action@v3
92
91
if : ${{ always() }}
92
+ with :
93
+ files : cov.xml
93
94
- name : Upload pytest test results
94
95
uses : actions/upload-artifact@v3
95
96
with :
Original file line number Diff line number Diff line change @@ -181,9 +181,10 @@ jobs:
181
181
- name : Run tests
182
182
if : ${{ matrix.check != 'skiptests' }}
183
183
run : tools/ci/check.sh
184
- - name : Submit coverage
184
+ - uses : codecov/codecov-action@v3
185
185
if : ${{ always() }}
186
- run : tools/ci/submit_coverage.sh
186
+ with :
187
+ files : cov.xml
187
188
- name : Upload pytest test results
188
189
if : ${{ always() && matrix.check == 'test' }}
189
190
uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ elif [ "${CHECK_TYPE}" == "test" ]; then
23
23
mkdir for_testing
24
24
cd for_testing
25
25
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 \
27
27
--junitxml=test-results.xml -v --pyargs nibabel -n auto
28
28
elif [ " ${CHECK_TYPE} " == " typing" ]; then
29
29
mypy nibabel
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments