File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 28
28
-DCMAKE_BUILD_TYPE=Debug \
29
29
-DUNITTEST=ON \
30
30
-DBUILD_CLONE_SUBMODULES=ON \
31
- -DCMAKE_C_FLAGS='--coverage - Wall -Wextra -Werror -DNDEBUG'
31
+ -DCMAKE_C_FLAGS='-Wall -Wextra -Werror -DNDEBUG'
32
32
33
33
make -C build/ all
34
34
48
48
49
49
echo -e "::group::${{ env.bashInfo }} Generate Coverage Report ${{ env.bashEnd }}"
50
50
# Generate coverage report, excluding extra directories
51
- lcov --rc lcov_branch_coverage=1 -r build/coverage.info -o build/coverage.info '*test*' '*CMakeCCompilerId*' '*mocks*'
51
+ lcov --rc lcov_branch_coverage=1 -r build/coverage.info -o build/coverage.info
52
52
53
53
echo "::endgroup::"
54
54
lcov --rc lcov_branch_coverage=1 --list build/coverage.info
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101
101
-G "Unix Makefiles" \
102
102
-DCMAKE_BUILD_TYPE=Debug \
103
103
-DBUILD_CLONE_SUBMODULES=ON \
104
- -DCMAKE_C_FLAGS='--coverage - Wall -Wextra -DNDEBUG'
104
+ -DCMAKE_C_FLAGS='-Wall -Wextra -DNDEBUG'
105
105
make -C build/ all
106
106
- name : Test
107
107
env :
You can’t perform that action at this time.
0 commit comments