Skip to content

Commit

Permalink
Add codecov config file to foundry dir too
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedrojok01 committed Mar 22, 2024
1 parent ffe17a3 commit d083b65
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ jobs:
working-directory: foundry

- name: Run Tests with Foundry
run: forge test -vvv
working-directory: foundry

- name: Run snapshot
run: forge snapshot
run: forge coverage --report lcov
working-directory: foundry

- name: Upload coverage reports to Codecov
Expand Down
5 changes: 3 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
codecov:
ignore:
- "foundry/test"
- "foundry/src/mocks"
- "foundry/test/**/*"
- "foundry/src/mocks/**/*"
- "foundry/sripts/**/*"
5 changes: 5 additions & 0 deletions foundry/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
codecov:
ignore:
- "foundry/test/**/*"
- "foundry/src/mocks/**/*"
- "foundry/sripts/**/*"

0 comments on commit d083b65

Please sign in to comment.