Skip to content

Commit

Permalink
fix(workflows): try to terminate anvil server again
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgousset committed Jul 8, 2024
1 parent d29b220 commit cd6ca05
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/protocol-devchain-anvil.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,17 @@ jobs:
./scripts/foundry/create_and_migrate_anvil_l2_devchain.sh
./scripts/foundry/stop_anvil.sh
- name: Run integration tests against L1 devchain
if: success() || failure()
run: |
source ./scripts/foundry/constants.sh
echo "Starting L1 from JSON state"
anvil \
--port 8547 \
--port $ANVIL_PORT \
--state $TMP_FOLDER/$L1_DEVCHAIN_FILE_NAME \
--state-interval $STATE_INTERVAL \
--gas-limit $GAS_LIMIT \
Expand All @@ -151,7 +155,7 @@ jobs:
forge test -vvv \
--match-path "test-sol/integration/*" \
--fork-url http://127.0.0.1:8547
--fork-url $ANVIL_RPC_URL
- name: Sanitize ref name
id: sanitize-ref-name
Expand Down

0 comments on commit cd6ca05

Please sign in to comment.