Skip to content

Commit

Permalink
Add missing coverage report generation
Browse files Browse the repository at this point in the history
Signed-off-by: Yutaro Hayakawa <yhayakawa3720@gmail.com>
  • Loading branch information
YutaroHayakawa committed May 26, 2024
1 parent 64fe96a commit 7b87084
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
go-version-file: ./go.mod

- name: Run tests
run: go test -v -exec "sudo" -coverpkg=./... -coverprofile=coverage.out ./...
run: |
go test -v -exec "sudo" -coverpkg=./... -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html
- name: Upload coverage report
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 7b87084

Please sign in to comment.