Skip to content

Commit

Permalink
♻️ Finetune Coverage
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Nov 5, 2023
1 parent e51c641 commit f6d41a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
# See https://github.com/ScopeLift/foundry-template/blob/fd3875d2e99a65dec19431723d6516b4ed76746e/.github/workflows/ci.yml#L49-L78.
- name: Remove unnecessary `test` directory
if: github.event_name == 'pull_request'
run: lcov --remove lcov.info 'test/*' 'script/*' --output-file lcov.info --rc lcov_branch_coverage=1
run: lcov --remove lcov.info 'test/*' 'script/*' 'node_modules/*' --output-file lcov.info --rc lcov_branch_coverage=1

- name: Post coverage report
if: github.event_name == 'pull_request'
Expand All @@ -158,4 +158,5 @@ jobs:
uses: zgosalvez/github-actions-report-lcov@v2
with:
coverage-files: ./lcov.info
# Please specify here the minimum coverage threshold below which any PR will fail.
minimum-coverage: 100

0 comments on commit f6d41a3

Please sign in to comment.