Merge branch 'dcmt/sonic' #1291
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: Integration Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly-59f354c179f4e7f6d7292acb3d068815c79286d1 | |
- name: Install dependencies | |
run: git submodule update --recursive --init | |
- name: Check contract sizes | |
run: forge build --sizes --skip UniswapV4UnitTest.t.sol | |
- name: Run tests | |
run: forge test | |
env: | |
FOUNDRY_PROFILE: integration | |
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }} | |
- name: Install Node.js 18.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Install node dependencies | |
run: npm install | |
- name: Gas comparison | |
run: npm run compare_gas |