Skip to content

Commit 666e821

Browse files
fix lcov to look for obj and bin instead of build
1 parent 20754a5 commit 666e821

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@ jobs:
3232
- name: Generate coverage (LCOV)
3333
run: |
3434
# Clean any stale traces first
35-
lcov --directory build --zerocounters
35+
lcov --directory obj --directory bin --zerocounters
3636
# Capture with matching gcov tool and stable options
37-
lcov --capture --directory build \
38-
--gcov-tool gcov-13 \
39-
--rc geninfo_unexecuted_blocks=1 \
40-
--ignore-errors mismatch,source \
41-
--output-file coverage.info
37+
lcov --capture \
38+
--directory obj \
39+
--directory bin \
40+
--gcov-tool gcov-13 \
41+
--ignore-errors empty \
42+
--output-file coverage.info
4243
# (optional) keep only your code
4344
lcov --remove coverage.info '/usr/*' '*/googletest/*' \
4445
--output-file coverage.info

0 commit comments

Comments
 (0)