Skip to content

Commit 927c607

Browse files
authored
Fix: remove example folder from coverage (#1074)
* Enhance fpm deployment for coverage including examples Added fpm run --example command to deployment workflow for coverage analysis * Update coverage report generation in workflow Remove example folder from coverage report.
1 parent 1f6e3a0 commit 927c607

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/fpm-deployment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ jobs:
112112
lcov --capture --initial --base-directory . --directory ${{ env.COV_DIR }} --output-file ${{ env.COV_DIR }}/coverage.base --ignore-errors mismatch
113113
lcov --capture --base-directory . --directory ${{ env.COV_DIR }} --output-file ${{ env.COV_DIR }}/coverage.capture --ignore-errors mismatch
114114
lcov --add-tracefile ${{ env.COV_DIR }}/coverage.base --add-tracefile ${{ env.COV_DIR }}/coverage.capture --output-file ${{ env.COV_DIR }}/coverage.info --ignore-errors mismatch
115+
lcov --remove ${{ env.COV_DIR }}/coverage.info '*/example/*' --output-file ${{ env.COV_DIR }}/coverage.info
115116
env:
116117
COV_DIR: build/coverage
117118

0 commit comments

Comments
 (0)