Skip to content

Commit c9524bb

Browse files
authored
Update to codecov/[email protected] (#1792)
1 parent 82d0b5f commit c9524bb

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

.github/workflows/test_petab_test_suite.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,20 +71,24 @@ jobs:
7171
- name: Run PEtab-related unit tests
7272
run: |
7373
source ./build/venv/bin/activate \
74-
&& pytest --cov-report=xml --cov=./ python/tests/test_*petab*.py
74+
&& pytest --cov-report=xml:coverage.xml \
75+
--cov=./ python/tests/test_*petab*.py
7576
7677
# run test models
7778
- name: Run PEtab test suite
7879
# git clone --depth 1 https://github.com/petab-dev/petab_test_suite
7980
run: |
8081
source ./build/venv/bin/activate \
8182
&& AMICI_PARALLEL_COMPILE=2 pytest -v \
82-
--cov-report=xml --cov-append --cov=amici tests/petab_test_suite/
83+
--cov-report=xml:coverage.xml \
84+
--cov-append \
85+
--cov=amici \
86+
tests/petab_test_suite/
8387
8488
- name: Codecov
85-
uses: codecov/codecov-action@v2
89+
uses: codecov/codecov-action@v3.1.0
8690
with:
8791
token: ${{ secrets.CODECOV_TOKEN }}
88-
file: ./coverage.xml
92+
file: coverage.xml
8993
flags: petab
9094
fail_ci_if_error: true

.github/workflows/test_python_cplusplus.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,13 @@ jobs:
104104
scripts/runNotebook.sh documentation/GettingStarted.ipynb
105105
106106
- name: Codecov Python
107-
uses: codecov/codecov-action@v2
107+
uses: codecov/codecov-action@v3.1.0
108108
with:
109109
token: ${{ secrets.CODECOV_TOKEN }}
110-
file: ./build/coverage_py.xml
110+
file: build/coverage_py.xml
111111
flags: python
112112
fail_ci_if_error: true
113+
verbose: true
113114

114115
- name: lcov
115116
run: |
@@ -122,10 +123,10 @@ jobs:
122123
&& lcov -a coverage_cpp.info -a coverage_py.info -o coverage.info
123124
124125
- name: Codecov CPP
125-
uses: codecov/codecov-action@v2
126+
uses: codecov/codecov-action@v3.1.0
126127
with:
127128
token: ${{ secrets.CODECOV_TOKEN }}
128-
file: ./coverage.info
129+
file: coverage.info
129130
flags: cpp
130131
fail_ci_if_error: true
131132

.github/workflows/test_sbml_semantic_test_suite.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ jobs:
5353
path: tests/amici-semantic-results
5454

5555
- name: Codecov SBMLSuite
56-
uses: codecov/codecov-action@v2
56+
uses: codecov/codecov-action@v3.1.0
5757
with:
5858
token: ${{ secrets.CODECOV_TOKEN }}
59-
file: ./coverage_SBMLSuite.xml
59+
file: coverage_SBMLSuite.xml
6060
flags: sbmlsuite
6161
fail_ci_if_error: true

0 commit comments

Comments
 (0)