Skip to content

Merge pull request #10 from openfort-xyz/post-audit/ver-0.5.1 #146

Merge pull request #10 from openfort-xyz/post-audit/ver-0.5.1

Merge pull request #10 from openfort-xyz/post-audit/ver-0.5.1 #146

Workflow file for this run

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