From 90a116ac7bb4fe82e3a816abac3d41110ad80b01 Mon Sep 17 00:00:00 2001 From: ado Date: Wed, 21 Feb 2024 20:19:42 +0100 Subject: [PATCH] [skip ci] Update coverage.yml, add lcov filters --- .github/workflows/coverage.yml | 4 +--- script/ci_install_lcov.sh | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) 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