Skip to content

Commit

Permalink
Fix HTML report generation in ci.yml and release.yml. (FreeRTOS#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
ActoryOu authored Nov 20, 2024
1 parent c2ed628 commit f52fd8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
-DCMAKE_BUILD_TYPE=Debug \
-DUNITTEST=ON \
-DBUILD_CLONE_SUBMODULES=ON \
-DCMAKE_C_FLAGS='--coverage -Wall -Wextra -Werror -DNDEBUG'
-DCMAKE_C_FLAGS='-Wall -Wextra -Werror -DNDEBUG'
make -C build/ all
Expand All @@ -48,7 +48,7 @@ jobs:
echo -e "::group::${{ env.bashInfo }} Generate Coverage Report ${{ env.bashEnd }}"
# Generate coverage report, excluding extra directories
lcov --rc lcov_branch_coverage=1 -r build/coverage.info -o build/coverage.info '*test*' '*CMakeCCompilerId*' '*mocks*'
lcov --rc lcov_branch_coverage=1 -r build/coverage.info -o build/coverage.info
echo "::endgroup::"
lcov --rc lcov_branch_coverage=1 --list build/coverage.info
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
-G "Unix Makefiles" \
-DCMAKE_BUILD_TYPE=Debug \
-DBUILD_CLONE_SUBMODULES=ON \
-DCMAKE_C_FLAGS='--coverage -Wall -Wextra -DNDEBUG'
-DCMAKE_C_FLAGS='-Wall -Wextra -DNDEBUG'
make -C build/ all
- name: Test
env:
Expand Down

0 comments on commit f52fd8b

Please sign in to comment.