Skip to content

Commit

Permalink
add-coverage-report
Browse files Browse the repository at this point in the history
  • Loading branch information
vmercierfr committed Sep 22, 2023
1 parent 4e0f196 commit 843c312
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,24 @@ jobs:
run: make build
- name: Run Go tests
run: make test
- name: Code Coverage Report
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: coverage.xml
badge: true
fail_below_min: true
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: '60 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
helm:
name: helm
runs-on: ubuntu-latest
Expand Down

0 comments on commit 843c312

Please sign in to comment.