From d52bfc9ad8ae6c308219c01fb3b51cd0af2cf581 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 11 Sep 2024 15:48:17 +0300 Subject: [PATCH] Tweak coverage scope --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91e50a7..61fdc71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: - name: Collect coverage run: | curl -sL https://github.com/mozilla/grcov/releases/download/v0.8.19/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar -xjf- - ./grcov . --binary-path ./target/debug/deps/ -s . -t lcov --branch --ignore-not-existing --keep-only 'repology-*/*' -o coverage.lcov + ./grcov . --binary-path ./target/debug/deps/ -s . -t lcov --branch --ignore-not-existing --keep-only 'repology-webapp/*' --keep-only 'repology-common/*' -o coverage.lcov - name: Submit coverage if: ${{ github.actor != 'dependabot[bot]' && github.event_name != 'pull_request' }} uses: codecov/codecov-action@v4