From 9f694e0f9c6baa9c55588ed2ee3062368b91e131 Mon Sep 17 00:00:00 2001 From: Jeroen Offerijns Date: Tue, 20 Feb 2024 10:32:16 +0100 Subject: [PATCH] Separate unit & fork tests --- .github/workflows/ci.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bba9748..30db157 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ env: FOUNDRY_PROFILE: ci jobs: - test: + test-unit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -19,11 +19,25 @@ jobs: uses: foundry-rs/foundry-toolchain@v1 - name: Run tests - run: forge test + run: forge test --no-match-path "test/fork/**/*.sol" env: FOUNDRY_PROFILE: ci FORK_TESTS: false + # test-fork: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v3 + + # - name: Install Foundry + # uses: foundry-rs/foundry-toolchain@v1 + + # - name: Run tests + # run: forge test --match-path "test/fork/**/*.sol" + # env: + # FOUNDRY_PROFILE: ci + # FORK_TESTS: false + lint: runs-on: ubuntu-latest steps: