Publish coverage report
All checks were successful
Run go tests / test (pull_request) Successful in 50s

This commit is contained in:
Torjus Håkestad 2023-12-05 22:11:09 +01:00
parent 555ce22479
commit d346944e20

View File

@ -51,4 +51,14 @@ jobs:
run: go build -v ./...
- name: Test
run: go test -cover -v ./...
run: go test -cover -coverprofile=/tmp/cov.out -v ./...
- name: Make coverage report
run: go tool cover -html=/tmp/cov.out -o /tmp/cov.html
- name: Publish coverage report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: /tmp/cov.html