Skip to content

Commit

Permalink
refactor create coverage report step
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillerv committed Dec 10, 2023
1 parent fb897b5 commit cdcf77c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ jobs:
cache: true

- name: Run Tests
run: |
go test -coverprofile coverage.out
go tool cover -html coverage.out -o coverage.html
run: go test -coverprofile coverage.out

- name: Create Coverage Report
run: go tool cover -html coverage.out -o coverage.html

- name: Upload test coverage
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit cdcf77c

Please sign in to comment.