Skip to content

Commit 74e0174

Browse files
authored
ci: prune lcov report (#46)
ignore test/script folder when calculating test coverage
1 parent 65238ce commit 74e0174

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

+5
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ jobs:
6262
FOUNDRY_PROFILE=ci forge coverage --report lcov
6363
id: coverage
6464

65+
- name: Prune lcov report
66+
run: |
67+
sudo apt-get install lcov
68+
lcov --remove ./lcov.info -o ./lcov.info 'script/*' 'test/*'
69+
6570
- name: Coveralls GitHub Action
6671
uses: coverallsapp/[email protected]
6772
with:

0 commit comments

Comments
 (0)