File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -699,15 +699,13 @@ jobs:
699
699
run : cmake --build build -- -j2
700
700
- name : Print ccache stats
701
701
run : ccache -s
702
- - name : Run CTest
703
- run : cmake --build build --target coverage -- -j2
704
- - name : Collect coverage statistics
702
+ - name : Run CTest and collect coverage statistics
705
703
run : |
706
- lcov --capture --directory build --output-file lcov.info
707
- lcov --remove lcov.info '/usr/*' --output-file lcov.info
704
+ echo "lcov_excl_line = UNREACHABLE" > ~/.lcovrc
705
+ cmake --build build --target coverage -- -j2
708
706
- name : Upload coverage statistics to Codecov
709
707
uses : codecov/codecov-action@v2
710
708
with :
711
- files : ./lcov .info
709
+ files : build/html/coverage .info
712
710
fail_ci_if_error : true
713
711
verbose : true
You can’t perform that action at this time.
0 commit comments