Merge remote-tracking branch 'upstream/main' into feature/test_commmit #1
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: Forge Tests | |
on: [push, pull_request] | |
jobs: | |
forge-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Foundry | |
uses: onbjerg/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install dependencies | |
run: forge install | |
- name: Check formatting | |
run: forge fmt --check | |
- name: Run forge tests | |
# env: | |
# ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }} | |
# run: forge test --fork-url "https://eth-mainnet.alchemyapi.io/v2/$ALCHEMY_API_KEY" | |
run: forge test --ffi -vvv |