Skip to content

Commit

Permalink
Separate unit & fork tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hieronx committed Feb 20, 2024
1 parent a6462c7 commit 9f694e0
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
FOUNDRY_PROFILE: ci

jobs:
test:
test-unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -19,11 +19,25 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1

- name: Run tests
run: forge test
run: forge test --no-match-path "test/fork/**/*.sol"
env:
FOUNDRY_PROFILE: ci
FORK_TESTS: false

# test-fork:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3

# - name: Install Foundry
# uses: foundry-rs/foundry-toolchain@v1

# - name: Run tests
# run: forge test --match-path "test/fork/**/*.sol"
# env:
# FOUNDRY_PROFILE: ci
# FORK_TESTS: false

lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 9f694e0

Please sign in to comment.