Skip to content

Commit eea97e2

Browse files
committed
fix: stabilize threaded health coverage
1 parent aac2bbc commit eea97e2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/integration-test.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ jobs:
234234
-DENABLE_GO2RTC=OFF \
235235
-DENABLE_LITERT=OFF \
236236
-DENABLE_MQTT=ON \
237-
-DCMAKE_C_FLAGS="--coverage" \
237+
-DCMAKE_C_FLAGS="--coverage -fprofile-update=atomic" \
238238
-DCMAKE_EXE_LINKER_FLAGS="--coverage"
239239
cmake --build build/health-ci -- -j2
240240
@@ -300,16 +300,16 @@ jobs:
300300
lcov --capture \
301301
--directory build/health-ci \
302302
--output-file build/health-ci/coverage.info \
303-
--ignore-errors mismatch,inconsistent
303+
--ignore-errors mismatch,inconsistent,negative
304304
lcov --remove build/health-ci/coverage.info \
305305
'/usr/*' \
306306
'*/third_party/*' \
307307
'*/external/*' \
308308
'*/tests/*' \
309309
--output-file build/health-ci/coverage_filtered.info \
310-
--ignore-errors unused,inconsistent
310+
--ignore-errors unused,inconsistent,negative
311311
lcov --list build/health-ci/coverage_filtered.info \
312-
--ignore-errors inconsistent
312+
--ignore-errors inconsistent,negative
313313
314314
- name: Upload system health coverage to Codecov
315315
uses: codecov/codecov-action@v7

0 commit comments

Comments
 (0)