diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4585b28..7276fc4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28b5e2ed..0b6ea7bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: