Skip to content

Commit b9475ec

Browse files
Update CI workflow to refine coverage report generation by excluding additional directories and enhancing Codecov integration with improved error handling and verbosity settings.
1 parent 319c98d commit b9475ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,16 @@ jobs:
8787
- name: Generate Coverage Report
8888
run: |
8989
lcov --capture --directory build --output-file coverage.info --ignore-errors mismatch,unused
90-
lcov --remove coverage.info '/usr/*' '*/tests/*' '*/external/*' '*/googletest/*' --output-file coverage.info --ignore-errors mismatch,unused
90+
lcov --remove coverage.info '/usr/*' '*/tests/*' '*/external/*' '*/_deps/*' '*/googletest/*' '*/googlemock/*' --output-file coverage.info --ignore-errors mismatch,unused
9191
lcov --list coverage.info --ignore-errors mismatch,unused
9292
9393
- name: Upload coverage reports to Codecov
9494
uses: codecov/codecov-action@v5
9595
with:
9696
token: ${{ secrets.CODECOV_TOKEN }}
97+
files: ./coverage.info
98+
fail_ci_if_error: false
99+
verbose: true
97100

98101
macos:
99102
runs-on: macos-latest

0 commit comments

Comments
 (0)