Skip to content

Commit

Permalink
Update code-health.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaangiolillo committed Sep 25, 2023
1 parent 690c1c2 commit d95a937
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/code-health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,17 @@ jobs:
go-version-file: 'go.mod'
- name: Unit Test
run: make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
- name: Convert coverage report to Cobertura format
run: |
go get github.com/axw/gocov/gocov
go get github.com/AlekSi/gocov-xml
gocov convert coverage.out | gocov-xml > coverage.xml
- name: Code Coverage Summary Report
uses: irongut/[email protected]
with:
filename: coverage.xml
format: markdown
badge: true
lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit d95a937

Please sign in to comment.