Compare commits
1 Commits
f0c9417471
...
6c5c523a1a
| Author | SHA1 | Date | |
|---|---|---|---|
|
6c5c523a1a
|
@@ -262,7 +262,8 @@ build_and_test() {
|
||||
lcov --capture --directory . --output-file coverage-full.info \
|
||||
--rc lcov_branch_coverage=1 --ignore-errors inconsistent 2>&1 || true
|
||||
# Extract only production code from src/ directory, exclude tests
|
||||
lcov --extract coverage-full.info '*/src/src/*' \
|
||||
# Pattern matches both Docker (/src/src/*) and CI (/usr/src/profanity/src/*)
|
||||
lcov --extract coverage-full.info '*/profanity/src/*' '*/src/src/*' \
|
||||
--output-file coverage.info \
|
||||
--rc lcov_branch_coverage=1 --ignore-errors inconsistent 2>&1 || true
|
||||
if [ -f coverage.info ] && [ -s coverage.info ]; then
|
||||
|
||||
Reference in New Issue
Block a user