Skip to content

Add Fork tests to CI #568

Add Fork tests to CI

Add Fork tests to CI #568

Workflow file for this run

name: Build and Test
on: [push]
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 Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run unit and integration tests
run: |
forge test --no-match-path "test/fork/**" -vvv
id: test
- name: Run Fork Tests
run: |
forge test --match-path "test/fork/**" -vvv
id: test

Check failure on line 39 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Build and Test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 39, Col: 13): The identifier 'test' may not be used more than once within the same scope.