Skip to content

Commit

Permalink
filter coverage files to ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
oveddan committed Sep 13, 2023
1 parent 2e7f230 commit c122146
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c122146

Please sign in to comment.