Skip to content

Improve coverage reporting #57

Improve coverage reporting

Improve coverage reporting #57

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Run tests
run: go test -v -exec "sudo" -coverpkg=./... -coverprofile=coverage.out ./...
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage.html
path: coverage.html