Skip to content

Commit

Permalink
Run anvil during e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akonior committed Feb 2, 2024
1 parent c95d1fd commit 69439ae
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ts_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,20 @@ jobs:
- name: Generate Proof
run: nargo prove --package main --oracle-resolver=http://localhost:5555

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

- name: Start Anvil
run: |
anvil &
ANVIL_PID=$!
echo "ANVIL_PID=$ANVIL_PID" >> $GITHUB_ENV
- name: Run e2e Tests
run: yarn test:e2e

- name: Stop Anvil
if: always()
run: kill $ANVIL_PID

0 comments on commit 69439ae

Please sign in to comment.