Skip to content

Commit

Permalink
ci: [GHA] upload coverage report
Browse files Browse the repository at this point in the history
Upload the coverage report as an artifact.  We still need to work
out what we can actually *do* with it on GitHub which, unlike
GitLab, has no native support for coverage annotations in PRs.
But we have agreed to solve that another day.
  • Loading branch information
frasertweedale authored and tiran committed Sep 18, 2023
1 parent 446245c commit 644dba3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ jobs:
go run github.com/boumenot/gocover-cobertura < coverage.out > coverage.xml
go tool cover -func ./coverage.out
# TODO upload coverage report as artifact
- name: Upload coverage report
uses: "actions/upload-artifact@v3"
with:
path: coverage.xml

- name: Build executables
run: make build

0 comments on commit 644dba3

Please sign in to comment.