Skip to content

Commit

Permalink
update cov and test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanRHall committed Nov 14, 2024
1 parent 741b458 commit 12cd929
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 7 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/cov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: test

on: push

env:
FOUNDRY_PROFILE: ci

jobs:
check:
strategy:
fail-fast: true

name: Foundry Tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

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

- name: Run forge coverage
run: |
forge coverage --no-match-coverage "(script|test|examples|v0|mocks)"
id: coverage
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,7 @@ jobs:
with:
version: nightly

- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build

- name: Run Forge tests
- name: Run forge test
run: |
forge test -vvv
id: test

0 comments on commit 12cd929

Please sign in to comment.