Skip to content

Commit

Permalink
fix: add coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
web3rover committed Nov 27, 2023
1 parent 753b565 commit 1ebdf3d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,26 @@ jobs:
- name: "Test the contracts and generate the coverage report"
run: "npx hardhat coverage"

- name: Code Coverage Report
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: coverage/**/cobertura-coverage.xml
badge: true
fail_below_min: false
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: "50 80"

- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md

docgen:
name: Docgen
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1ebdf3d

Please sign in to comment.