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:
699699 run : cmake --build build -- -j2
700700 - name : Print ccache stats
701701 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
705703 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
708706 - name : Upload coverage statistics to Codecov
709707 uses : codecov/codecov-action@v2
710708 with :
711- files : ./lcov .info
709+ files : build/html/coverage .info
712710 fail_ci_if_error : true
713711 verbose : true
You can’t perform that action at this time.
0 commit comments