Adding Sepolia support & minor fixes #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
name: Openfort Test Contracts | |
jobs: | |
check: | |
name: Foundry tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install dependencies | |
run: yarn | |
- name: Local tests | |
env: # Or as an environment variable | |
ENTRY_POINT_ADDRESS: ${{ vars.ENTRY_POINT_ADDRESS }} | |
run: forge test --force -vvv --match-test test | |
- name: Fork tests (Goerli) | |
env: # Or as an environment variable | |
ENTRY_POINT_ADDRESS: ${{ vars.ENTRY_POINT_ADDRESS }} | |
GOERLI_RPC: ${{ secrets.GOERLI_RPC }} | |
run: forge test --force -vvv --match-test test --fork-url $GOERLI_RPC |