Skip to content

Commit

Permalink
finish (+6 squashed commits)
Browse files Browse the repository at this point in the history
Squashed commits:
[c008323] try
[2cae6ab] try
[b500ed5] try
[341c6b4] try
[c0ad812] try
[bbd6b8f] first draft
  • Loading branch information
JJVincentJJ committed Mar 16, 2023
1 parent 73b6bd1 commit e1a9eb0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/contracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Setup LCOV
uses: hrishikesh-kadam/setup-lcov@v1

- name: Install Node.js 14
uses: actions/setup-node@v2
Expand Down Expand Up @@ -80,6 +83,19 @@ jobs:
- name: Run foundry tests
run: forge test -vvv

- name: Run foundry coverage
run : forge coverage --report lcov

- name: Report code coverage
uses: zgosalvez/github-actions-report-lcov@v3
with:
coverage-files: contracts/lcov.info
minimum-coverage: 0
artifact-name: code-coverage-report
github-token: ${{ secrets.GITHUB_TOKEN }}
working-directory: contracts
update-comment: true

hardhat:
runs-on: ubuntu-latest

Expand Down

0 comments on commit e1a9eb0

Please sign in to comment.