Skip to content

Commit

Permalink
fix: simulation working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
kopy-kat committed May 13, 2024
1 parent 031843e commit 91c206a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/simulation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,33 @@ jobs:
strategy:
fail-fast: true

env:
working-directory: ./examples

name: Foundry project
runs-on: ubuntu-latest
working-directory: ./examples

steps:
- uses: actions/checkout@v4
with:
submodules: recursive
working-directory: ${{env.working-directory}}

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
working-directory: ${{env.working-directory}}

- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
working-directory: ${{env.working-directory}}

- name: Run Forge tests
run: |
SIMULATE=true forge test -vvv
id: test
working-directory: ${{env.working-directory}}

0 comments on commit 91c206a

Please sign in to comment.