Skip to content

test: allow vm cheatcodes after fork on v1.3.6 #350

test: allow vm cheatcodes after fork on v1.3.6

test: allow vm cheatcodes after fork on v1.3.6 #350

Workflow file for this run

name: "CI"
concurrency:
cancel-in-progress: true
group: ${{github.workflow}}-${{github.ref}}
on:
workflow_dispatch:
pull_request:
push:
branches:
- "main"
- "staging"
jobs:
check:
uses: "sablier-labs/gha-utils/.github/workflows/full-check.yml@main"
build:
uses: "sablier-labs/gha-utils/.github/workflows/forge-build.yml@main"
with:
foundry-profiles: "default"
test-bulloak:
needs: ["check", "build"]
if: needs.build.outputs.cache-status != 'primary'
uses: "sablier-labs/gha-utils/.github/workflows/bulloak-check.yml@main"
with:
skip-modifiers: true
test-dir: "tests"
test-integration:
needs: ["check", "build"]
if: needs.build.outputs.cache-status != 'primary'
uses: "sablier-labs/gha-utils/.github/workflows/forge-test.yml@main"
with:
foundry-fuzz-runs: 2000
match-path: "tests/integration/**/*.sol"
name: "Integration tests"
test-invariant:
needs: ["check", "build"]
if: needs.build.outputs.cache-status != 'primary'
uses: "sablier-labs/gha-utils/.github/workflows/forge-test.yml@main"
with:
foundry-invariant-depth: 100
foundry-invariant-runs: 300
match-path: "tests/invariant/**/*.sol"
name: "Invariant tests"
coverage:
needs: ["check", "build"]
if: needs.build.outputs.cache-status != 'primary'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uses: "sablier-labs/gha-utils/.github/workflows/forge-coverage.yml@main"
with:
match-path: "tests/integration/**/*.sol"