Skip to content

Commit

Permalink
chore: update test CI/CD for FORK_URL env (#230)
Browse files Browse the repository at this point in the history
## Description

This PR sets the `FORK_URL` environment variable to a mainnet archive
node with sufficient RPS / capacity to facilitate the fork tests.

## Test Plan

1. Verify CI/CD green.

## Related Issues

N/A
  • Loading branch information
mfw78 authored Oct 8, 2024
1 parent 3d8a350 commit 51f4a5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,9 @@ jobs:
- name: Run Forge tests
if: matrix.profile != 'solc-0.7.6'
run: |
if [ "${{ matrix.profile }}" == "default" ]; then
echo "Setting FORK_URL for default profile"
export FORK_URL="${{ secrets.MAINNET_ARCHIVE_RPC }}"
fi
FOUNDRY_PROFILE=ci forge test -vvv
id: test

0 comments on commit 51f4a5b

Please sign in to comment.