From 10aff50fd2b7b78ff2128130b992e7526274d100 Mon Sep 17 00:00:00 2001 From: Korrrba Date: Wed, 25 Oct 2023 11:29:10 +0200 Subject: [PATCH] chore: forge coverage --force --- .github/workflows/coverage-check.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/coverage-check.yml b/.github/workflows/coverage-check.yml index e2b5f23ec..34f1b581f 100644 --- a/.github/workflows/coverage-check.yml +++ b/.github/workflows/coverage-check.yml @@ -26,12 +26,6 @@ jobs: with: version: nightly-5be158ba6dc7c798a6f032026fe60fc01686b33b - - name: Yarn Install - run: yarn install --mode=skip-build && yarn allow-scripts - - - name: Setup Forge - run: yarn workspace @ubiquity/contracts forge:install - - name: Install dependencies run: sudo apt-get install lcov @@ -41,7 +35,7 @@ jobs: cd ./packages/contracts # generates lcov.info - forge coverage --report lcov + forge coverage --report lcov --force # Foundry uses relative paths but Hardhat uses absolute paths. # Convert absolute paths to relative paths for consistency. @@ -79,19 +73,13 @@ jobs: with: submodules: recursive - - name: Yarn Install - run: yarn install --mode=skip-build && yarn allow-scripts - - - name: Setup Forge - run: yarn workspace @ubiquity/contracts forge:install - - name: Get PR branch coverage id: coverage-pr run: | cd ./packages/contracts # generates lcov.info - forge coverage --report lcov + forge coverage --report lcov --force # Foundry uses relative paths but Hardhat uses absolute paths. # Convert absolute paths to relative paths for consistency.