From fed3d93d29cb3aca5e2db8fc7154509bde0854bf Mon Sep 17 00:00:00 2001 From: jaybuidl Date: Wed, 18 Dec 2024 12:49:07 +0000 Subject: [PATCH] chore: testing workflow debugging --- .github/workflows/contracts-testing.yml | 4 ++++ contracts/scripts/coverage.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/contracts-testing.yml b/.github/workflows/contracts-testing.yml index 72d261633..83a8bdd47 100644 --- a/.github/workflows/contracts-testing.yml +++ b/.github/workflows/contracts-testing.yml @@ -69,6 +69,10 @@ jobs: - name: Install lcov run: sudo apt-get install -y lcov + - name: Run Foundry tests without coverage + run: forge test + working-directory: contracts + - name: Run Hardhat and Foundry tests with coverage run: yarn coverage working-directory: contracts diff --git a/contracts/scripts/coverage.sh b/contracts/scripts/coverage.sh index 5192e338f..4f7327a91 100755 --- a/contracts/scripts/coverage.sh +++ b/contracts/scripts/coverage.sh @@ -39,6 +39,7 @@ lcov \ --ignore-errors format \ --ignore-errors inconsistent \ --ignore-errors empty \ + --ignore-errors unused \ --rc max_message_count=3 \ --rc branch_coverage=1 \ --rc derive_function_end_line=0 \