Skip to content

Commit b947663

Browse files
facontidavideclaude
andcommitted
Exclude contrib/ vendored headers from coverage
Add lcov --remove for */contrib/* after extraction, and add include/**/contrib/**/* to codecov.yml ignore list. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 41d8f70 commit b947663

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/cmake_ubuntu.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ jobs:
9090
'*/BehaviorTree.CPP/src/*' \
9191
--output-file coverage.info \
9292
--ignore-errors unused
93+
lcov --remove coverage.info \
94+
'*/contrib/*' \
95+
--output-file coverage.info \
96+
--ignore-errors unused
9397
lcov --list coverage.info
9498
9599
- name: Upload coverage reports to Codecov

codecov.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ coverage:
77
ignore:
88
- "3rdparty/**/*"
99
- "examples/**/*"
10+
- "include/**/contrib/**/*"
1011
- "sample_nodes/**/*"
1112
- "tests/**/*"
1213
- "tools/**/*"

0 commit comments

Comments
 (0)