Skip to content

Commit 1776a76

Browse files
committed
CI: Use codecov action
1 parent bc7f688 commit 1776a76

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
python-${{ matrix.python-version }}-
3434
- name: Install DataLad
3535
run: |
36-
$CONDA/bin/conda install -c conda-forge git-annex datalad pip codecov pytest
36+
$CONDA/bin/conda install -c conda-forge git-annex datalad pip pytest
3737
$CONDA/bin/python -m pip install datalad-osf
3838
3939
- uses: actions/cache@v3
@@ -62,5 +62,6 @@ jobs:
6262
$CONDA/bin/pytest -v --cov nitransforms --cov-config .coveragerc --cov-report xml:cov.xml --doctest-modules nitransforms/
6363
6464
- name: Submit code coverage
65-
run: |
66-
$CONDA/bin/python -m codecov --flags travis --file cov.xml -e $GITHUB_RUN_NUMBER
65+
uses: codecov/codecov-action@v3
66+
with:
67+
files: cov.xml

0 commit comments

Comments
 (0)