File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ _pull_from_registry: &pull_from_registry
42
42
43
43
version : 2.1
44
44
orbs :
45
- docker :
circleci/[email protected]
45
+ docker :
circleci/[email protected]
46
+ codecov :
codecov/[email protected]
46
47
47
48
jobs :
48
49
cache_test_data :
@@ -343,15 +344,9 @@ jobs:
343
344
- store_test_results :
344
345
path : /tmp/tests
345
346
346
- - run :
347
- name : Submit unit test coverage
348
- working_directory : /tmp/src/sdcflows
349
- command : |
350
- export PY3=$( pyenv versions | awk '/^\* 3/ { print $2 }' )
351
- pyenv local $PY3
352
- python3 -m pip install codecov
353
- python3 -m codecov --file /tmp/tests/unittests.xml \
354
- --flags unittests -e CIRCLE_JOB
347
+ - codecov/upload :
348
+ file : /tmp/tests/unittests.xml
349
+ flags : unittests
355
350
356
351
build_docs :
357
352
docker :
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ jobs:
183
183
export PATH=$ANTSPATH:${AFNI_HOME}:/usr/lib/fsl/5.0:$PATH
184
184
pytest -v --cov sdcflows --cov-report xml:cov.xml --doctest-modules sdcflows
185
185
186
- - name : Submit code coverage
187
- run : |
188
- pip install codecov
189
- python -m codecov --flags travis --file cov.xml -e $GITHUB_RUN_NUMBER
186
+ - uses : codecov/codecov-action@v3
187
+ with :
188
+ file : cov.xml
189
+ if : ${{ always() }}
You can’t perform that action at this time.
0 commit comments