Skip to content

Commit 16afdfd

Browse files
committed
ignore mismatch
1 parent 4079fdc commit 16afdfd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/coverage.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ jobs:
6262
6363
- name: Test for code coverage
6464
run: |
65-
lcov --capture --initial --directory . --no-external --output-file build/coverage-base.info
65+
# FIXME AFAICT, there's a bug on the deloyed version of GCC and GCOV in
66+
# the ubuntu-24 runner. As a workaround we're adding
67+
# --ignore-errors mismatch
68+
lcov --capture --ignore-errors mismatch --initial --directory . --no-external --output-file build/coverage-base.info
6669
(cd build; cmake --build . --target test)
6770
lcov --capture --directory . --no-external --output-file build/coverage-run.info
6871
(cd build; lcov --add-tracefile coverage-base.info --add-tracefile coverage-run.info --output-file coverage-combined.info)

0 commit comments

Comments
 (0)