Skip to content

ci: add code coverage report #106

ci: add code coverage report

ci: add code coverage report #106

Workflow file for this run

name: test
on:
push:
branches:
- master
- develop
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
test:
strategy:
fail-fast: true
name: Foundry project
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 Forge tests
run: |
forge test -vvv --fork-url ${{ secrets.ETH_RPC_URL }}
id: test