ajet d4be329cb6
Some checks failed
Go / test (push) Failing after 4s
upload test coverage report
2025-11-04 13:53:34 -10:00

29 lines
524 B
YAML

name: Go
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Test
run: go test mal-go/... -coverprofile=test-report.out
- name: Generate Report
run: go tool cover -html=test-report.out -o test-coverage.html
- name: Upload Report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: test-coverage.html