diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 19869c8..0b35c43 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -63,9 +63,7 @@ jobs: - name: Generate coverage report run: | - lcov --version - lcov --help - lcov -d . -c -o out.info --rc lcov_branch_coverage=1 --no-external + lcov -d . -c -o out.info --rc lcov_branch_coverage=1 --no-external --filter branch --filter line lcov -e out.info '*include/ss*hpp' -o filtered.info - name: Invoke coveralls diff --git a/script/ci_install_lcov.sh b/script/ci_install_lcov.sh index 1dda243..e1280cd 100755 --- a/script/ci_install_lcov.sh +++ b/script/ci_install_lcov.sh @@ -4,4 +4,3 @@ echo yes | cpan DateTime Capture::Tiny wget -qO- https://github.com/linux-test-project/lcov/releases/download/v2.0/lcov-2.0.tar.gz | tar xvz (cd lcov-2.0 && make install) -lcov --version