@@ -136,25 +136,7 @@ jobs:
136
136
build_petsc : -petsc
137
137
on_cron : false
138
138
139
- - name : " Coverage"
140
- os : ubuntu-latest
141
- cmake_options : " -DBUILD_SHARED_LIBS=ON
142
- -DCMAKE_BUILD_TYPE=Debug
143
- -DCHECK=3
144
- -DENABLE_COVERAGE=ON
145
- -DBOUT_USE_PETSC=ON
146
- -DBOUT_USE_SLEPC=ON
147
- -DBOUT_USE_HDF5=ON
148
- -DBOUT_USE_SUNDIALS=ON
149
- -DBOUT_ENABLE_PYTHON=ON
150
- -DSUNDIALS_ROOT=/home/runner/local"
151
- unit_only : YES
152
- on_cron : false
153
139
exclude :
154
- # Don't run the coverage tests if the branch isn't master or next
155
- - is_master_or_next : false
156
- config :
157
- name : " Coverage"
158
140
- is_cron : true
159
141
config :
160
142
on_cron : false
@@ -217,22 +199,6 @@ jobs:
217
199
- name : Build BOUT++
218
200
run : UNIT_ONLY=${{ matrix.config.unit_only }} ./.ci_with_cmake.sh ${{ matrix.config.cmake_options }}
219
201
220
- - name : Capture coverage
221
- if : ${{ matrix.config.name == 'Coverage' }}
222
- # Explicitly run the coverage capture target, because
223
- # ci_script.sh also does the upload, and we're going to do
224
- # that ourselves in the next step
225
- run : |
226
- # Ensure that there is a corresponding .gcda file for every .gcno file
227
- # This is to try and make the coverage report slightly more accurate
228
- # It still won't include, e.g. any solvers we don't build with though
229
- find . -name "*.gcno" -exec sh -c 'touch -a "${1%.gcno}.gcda"' _ {} \;
230
- make -C build code-coverage-capture
231
-
232
- - name : Upload coverage
233
- if : ${{ matrix.config.name == 'Coverage' }}
234
- uses : codecov/codecov-action@v4
235
-
236
202
Fedora :
237
203
# This is its own job as it doesn't use most of the steps of the
238
204
# standard_tests
0 commit comments