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: