File tree Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Expand file tree Collapse file tree 3 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -71,20 +71,24 @@ jobs:
71
71
- name : Run PEtab-related unit tests
72
72
run : |
73
73
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
75
76
76
77
# run test models
77
78
- name : Run PEtab test suite
78
79
# git clone --depth 1 https://github.com/petab-dev/petab_test_suite
79
80
run : |
80
81
source ./build/venv/bin/activate \
81
82
&& 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/
83
87
84
88
- name : Codecov
85
- uses : codecov/codecov-action@v2
89
+ uses : codecov/codecov-action@v3.1.0
86
90
with :
87
91
token : ${{ secrets.CODECOV_TOKEN }}
88
- file : ./ coverage.xml
92
+ file : coverage.xml
89
93
flags : petab
90
94
fail_ci_if_error : true
Original file line number Diff line number Diff line change @@ -104,12 +104,13 @@ jobs:
104
104
scripts/runNotebook.sh documentation/GettingStarted.ipynb
105
105
106
106
- name : Codecov Python
107
- uses : codecov/codecov-action@v2
107
+ uses : codecov/codecov-action@v3.1.0
108
108
with :
109
109
token : ${{ secrets.CODECOV_TOKEN }}
110
- file : ./ build/coverage_py.xml
110
+ file : build/coverage_py.xml
111
111
flags : python
112
112
fail_ci_if_error : true
113
+ verbose : true
113
114
114
115
- name : lcov
115
116
run : |
@@ -122,10 +123,10 @@ jobs:
122
123
&& lcov -a coverage_cpp.info -a coverage_py.info -o coverage.info
123
124
124
125
- name : Codecov CPP
125
- uses : codecov/codecov-action@v2
126
+ uses : codecov/codecov-action@v3.1.0
126
127
with :
127
128
token : ${{ secrets.CODECOV_TOKEN }}
128
- file : ./ coverage.info
129
+ file : coverage.info
129
130
flags : cpp
130
131
fail_ci_if_error : true
131
132
Original file line number Diff line number Diff line change 53
53
path : tests/amici-semantic-results
54
54
55
55
- name : Codecov SBMLSuite
56
- uses : codecov/codecov-action@v2
56
+ uses : codecov/codecov-action@v3.1.0
57
57
with :
58
58
token : ${{ secrets.CODECOV_TOKEN }}
59
- file : ./ coverage_SBMLSuite.xml
59
+ file : coverage_SBMLSuite.xml
60
60
flags : sbmlsuite
61
61
fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments