Skip to content

ci: exclude ./examples from coverage #5

ci: exclude ./examples from coverage

ci: exclude ./examples from coverage #5

Triggered via push July 19, 2024 15:49
Status Failure
Total duration 28s
Artifacts

coverage.yml

on: push
Go test with coverage
18s
Go test with coverage
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
Go test with coverage: examples/list.go#L9
main redeclared in this block
Go test with coverage: examples/create.go#L9
other declaration of main
Go test with coverage
Error: Command failed with exit code 1: go test -covermode count -coverprofile /home/runner/work/_temp/go.cov -coverpkg ./... ./... # github.com/HawAPI/go-sdk/examples examples/list.go:9:6: main redeclared in this block examples/create.go:9:6: other declaration of main FAIL github.com/HawAPI/go-sdk/examples [build failed] FAIL github.com/HawAPI/go-sdk/pkg/cache [build failed] FAIL github.com/HawAPI/go-sdk/pkg/hawapi [build failed] FAIL
Go test with coverage
Failed to run git fetch origin +refs/notes/gocoverage:refs/notes/gocoverage
Go test with coverage
Failed to run go test -covermode count -coverprofile /home/runner/work/_temp/go.cov -coverpkg ./... ./...