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
4242
4343version : 2.1
4444orbs :
45- docker : circleci/docker@2.1.4
45+ docker : circleci/docker@2.2.0
46+ codecov : codecov/codecov@3.2.4
4647
4748jobs :
4849 cache_test_data :
@@ -343,15 +344,9 @@ jobs:
343344 - store_test_results :
344345 path : /tmp/tests
345346
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
355350
356351 build_docs :
357352 docker :
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ jobs:
183183 export PATH=$ANTSPATH:${AFNI_HOME}:/usr/lib/fsl/5.0:$PATH
184184 pytest -v --cov sdcflows --cov-report xml:cov.xml --doctest-modules sdcflows
185185
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