Skip to content

Commit

Permalink
feat: Coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed Dec 22, 2023
1 parent b777e61 commit 6931fe9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,12 @@ jobs:
go-version: '1.21'

- name: Test
run: go test ./... -cover
run: |
go test ./... -coverprofile cover.out
go tool cover -html=cover.out -o=cover.html
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: cover.html

0 comments on commit 6931fe9

Please sign in to comment.