From f719b438edd1b2486cb7c1b8401aa3c7c3a52b1e Mon Sep 17 00:00:00 2001 From: Zhenyang Shi Date: Thu, 24 Oct 2024 09:14:46 +1000 Subject: [PATCH] SMR-3173 Fix failed CI introduced by perimeter changes (#112) * Run yarn install prior to forge build * Update test.yml * Update coverage.yml --- .github/workflows/coverage.yml | 2 +- .github/workflows/test.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 38b7523e..fd3d459b 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -30,7 +30,7 @@ jobs: - name: Run Forge build run: | forge --version - forge build --sizes + forge build id: build # `forge coverage` doesn't have an `exclude-path` flag. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9deafa4f..0e7ed09e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,12 +34,6 @@ jobs: with: version: nightly - - name: Run Forge build - run: | - forge --version - forge build --sizes - id: build - - name: Run install uses: borales/actions-yarn@v4 with: @@ -50,6 +44,12 @@ jobs: with: cmd: build + - name: Run Forge build + run: | + forge --version + forge build + id: build + - name: Run Unit Tests run: | forge test --match-path "test/unit/**" -vvv