Fix test_regression_failure_reserves_on_bucketTake, update Invariant RE9 #1907
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: Run Tests | |
on: [push] | |
env: | |
FOUNDRY_PROFILE: ci | |
ETH_RPC_URL: ${{secrets.ETH_RPC_URL}} ## Loads environment from secrets | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: Forge 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: Run Forge build | |
run: | | |
forge --version | |
forge build --sizes | |
id: build | |
- name: Run tests | |
run: | | |
make test-with-gas-report && make test-regression-all | |
id: test |