Skip to content

test

test #141

Workflow file for this run

name: test
on:
push:
branches:
- master
- develop
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Vyper
run: pip install vyper==0.3.7
- 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 Forge tests
run: |
forge test -vvv --fork-url ${{ secrets.ETH_RPC_URL }} --etherscan-api-key ${{ secrets.ETHERSCAN_API_KEY }} --ffi
id: test