Skip to content

feat: unit improvements #12

feat: unit improvements

feat: unit improvements #12

Workflow file for this run

name: Foundry
on:
workflow_dispatch:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
env:
FOUNDRY_PROFILE: ci
defaults:
run:
working-directory: foundry
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1.2.0
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test
- name: Generate coverage report
run: |
forge coverage --report summary
id: coverage