Skip to content

Commit

Permalink
New codecov.yml config
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedrojok01 committed Mar 22, 2024
1 parent dee8ecf commit 8004f66
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,27 @@ on:

jobs:
check:
name: Run Forge Coverage report on tests
name: Foundry project
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install forge dependencies & run tests
run: |
cd foundry
forge install
forge test -vvv
- name: Change to Foundry directory
run: cd foundry

- name: Run Foundry Install
run: forge install
working-directory: foundry

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

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
Expand Down

0 comments on commit 8004f66

Please sign in to comment.