Skip to content

Commit 19dab7b

Browse files
committed
update codecov
1 parent 913ec0e commit 19dab7b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ jobs:
5050
- name: Generate Coverage Report
5151
run: |
5252
lcov --directory build --capture --output-file coverage.info
53-
# Remove coverage from test files and external dependencies
54-
lcov --remove coverage.info '*/SlotMapTest*.cpp' --output-file coverage_filtered.info
55-
lcov --remove coverage_filtered.info '*/extern/*' --output-file coverage_filtered.info
53+
# Remove coverage from external dependencies only
54+
lcov --remove coverage.info '*/extern/*' --output-file coverage_filtered.info
5655
lcov --remove coverage_filtered.info '*/googletest/*' --output-file coverage_filtered.info
57-
# Extract only slot_map header coverage
58-
lcov --extract coverage_filtered.info '*/slot_map/slot_map.h' --output-file coverage_final.info
56+
lcov --remove coverage_filtered.info '*/CMakeFiles/*' --output-file coverage_filtered.info
57+
# Keep both header and test files that exercise slot_map
58+
lcov --extract coverage_filtered.info '*/slot_map/*' '*/SlotMapTest*.cpp' --output-file coverage_final.info
5959
lcov --list coverage_final.info
6060
echo "=== Coverage file contents ==="
6161
cat coverage_final.info

0 commit comments

Comments
 (0)