13 lines
213 B
YAML
13 lines
213 B
YAML
|
build:
|
||
|
image: golang:1.18.5
|
||
|
environment:
|
||
|
- GOOS=linux
|
||
|
- GOARCH=amd64
|
||
|
- CGO_ENABLED=0
|
||
|
commands:
|
||
|
- go test -cover -coverprofile coverage.out
|
||
|
|
||
|
publish:
|
||
|
coverage:
|
||
|
when:
|
||
|
branch: master
|