Skip to content

Commit 20df64f

Browse files
add codecov stats to all PRs (#511)
* checkin codecov stats * change GH action * cleanup
1 parent 5e596fe commit 20df64f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/tests.yml

+7
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ jobs:
3838
uses: onbjerg/foundry-toolchain@v1
3939
with:
4040
version: nightly
41+
- name: Run coverage
42+
run: |
43+
forge coverage --report lcov
4144
- name: Run tests
4245
run: |
4346
forge test
47+
- name: Upload coverage reports to Codecov
48+
uses: codecov/codecov-action@v3
49+
with:
50+
files: ./lcov.info,

0 commit comments

Comments
 (0)