We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b1b869 + 8aa6be8 commit 739a158Copy full SHA for 739a158
.github/workflows/pull-request-checks.yaml
@@ -699,15 +699,13 @@ jobs:
699
run: cmake --build build -- -j2
700
- name: Print ccache stats
701
run: ccache -s
702
- - name: Run CTest
703
- run: cmake --build build --target coverage -- -j2
704
- - name: Collect coverage statistics
+ - name: Run CTest and collect coverage statistics
705
run: |
706
- lcov --capture --directory build --output-file lcov.info
707
- lcov --remove lcov.info '/usr/*' --output-file lcov.info
+ echo "lcov_excl_line = UNREACHABLE" > ~/.lcovrc
+ cmake --build build --target coverage -- -j2
708
- name: Upload coverage statistics to Codecov
709
uses: codecov/codecov-action@v2
710
with:
711
- files: ./lcov.info
+ files: build/html/coverage.info
712
fail_ci_if_error: true
713
verbose: true
0 commit comments