Merge pull request #5 from dfx-finance/optimize #10
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
name: 50k fuzz run test on push to main | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
run-ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install submodules | |
run: | | |
git config --global url."https://github.com/".insteadOf "[email protected]:" | |
git submodule update --init --recursive | |
- name: Run forge tests | |
# run: ./test.sh -p super_deep | |
run: | | |
forge clean | |
forge test --optimize --optimizer-runs 1000000 -v -f https://eth-mainnet.g.alchemy.com/v2/${{ secrets.ALCHEMY_API_KEY }} --fork-block-number 15129966 |