Skip to content

Commit

Permalink
chore: forge coverage --force
Browse files Browse the repository at this point in the history
  • Loading branch information
gitcoindev committed Oct 25, 2023
1 parent 0bccc6c commit 10aff50
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/coverage-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 10aff50

Please sign in to comment.