Skip to content

Commit f52fd8b

Browse files
authored
Fix HTML report generation in ci.yml and release.yml. (#183)
1 parent c2ed628 commit f52fd8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
-DCMAKE_BUILD_TYPE=Debug \
2929
-DUNITTEST=ON \
3030
-DBUILD_CLONE_SUBMODULES=ON \
31-
-DCMAKE_C_FLAGS='--coverage -Wall -Wextra -Werror -DNDEBUG'
31+
-DCMAKE_C_FLAGS='-Wall -Wextra -Werror -DNDEBUG'
3232
3333
make -C build/ all
3434
@@ -48,7 +48,7 @@ jobs:
4848
4949
echo -e "::group::${{ env.bashInfo }} Generate Coverage Report ${{ env.bashEnd }}"
5050
# 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
5252
5353
echo "::endgroup::"
5454
lcov --rc lcov_branch_coverage=1 --list build/coverage.info

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
-G "Unix Makefiles" \
102102
-DCMAKE_BUILD_TYPE=Debug \
103103
-DBUILD_CLONE_SUBMODULES=ON \
104-
-DCMAKE_C_FLAGS='--coverage -Wall -Wextra -DNDEBUG'
104+
-DCMAKE_C_FLAGS='-Wall -Wextra -DNDEBUG'
105105
make -C build/ all
106106
- name: Test
107107
env:

0 commit comments

Comments
 (0)