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 \