Update README.md #97
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 (Mumbai) | |
env: # Or as an environment variable | |
ENTRY_POINT_ADDRESS: ${{ vars.ENTRY_POINT_ADDRESS }} | |
POLYGON_MUMBAI_RPC: ${{ secrets.POLYGON_MUMBAI_RPC }} | |
run: forge test --force -vvv --match-test test --fork-url $POLYGON_MUMBAI_RPC |