Skip to content

Commit 8b75db7

Browse files
facontidavideclaude
andcommitted
Anchor lcov extract patterns to project directory
The previous patterns */include/* and */src/* were too broad and matched vendored 3rdparty files. Anchor to */BehaviorTree.CPP/ to ensure only the project's own source is included in coverage. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 2e72fb3 commit 8b75db7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cmake_ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ jobs:
8686
--ignore-errors mismatch \
8787
--ignore-errors negative
8888
lcov --extract coverage.info \
89-
'*/include/*' \
90-
'*/src/*' \
89+
'*/BehaviorTree.CPP/include/*' \
90+
'*/BehaviorTree.CPP/src/*' \
9191
--output-file coverage.info \
9292
--ignore-errors unused
9393
lcov --list coverage.info

0 commit comments

Comments
 (0)