Skip to content

Commit a53ceec

Browse files
committed
chore: add coverage to workflow
1 parent 49e6bba commit a53ceec

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,14 @@ jobs:
3939
run: |
4040
forge test -vvv --no-match-path "test/integration/*"
4141
id: test
42+
43+
- name: Run Forge coverage
44+
run: |
45+
forge coverage --report lcov --no-match-path "test/integration/*"
46+
id: coverage
47+
48+
- name: Upload coverage to Codecov
49+
uses: codecov/codecov-action@v4
50+
with:
51+
files: lcov.info
52+
fail_ci_if_error: false

0 commit comments

Comments
 (0)