From c122146aa36ac841bcfb4d058209e47b66ae95d4 Mon Sep 17 00:00:00 2001 From: Dan Oved Date: Wed, 13 Sep 2023 13:50:41 -0700 Subject: [PATCH] filter coverage files to ignore --- .github/workflows/coverage.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 18da216af..cba87e066 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -38,6 +38,12 @@ jobs: - name: Setup LCOV uses: hrishikesh-kadam/setup-lcov@v1 + - name: Filter files to ignore + run: | + lcov --rc lcov_branch_coverage=1 \ + --remove lcov.info \ + --output-file lcov.info "*node_modules*" "*test*" "*script*" "*DeploymentConfig*" + - name: Report code coverage uses: zgosalvez/github-actions-report-lcov@v2 with: