Files
go-imap/.build.yml
T
Simon Ser eb574be89b ci: drop codecov
Instead of relying on an insecure third-party service, generate the
HTML report ourselves and expose it as a builds.sr.ht artifact.
2021-04-30 10:42:47 +02:00

18 lines
366 B
YAML

image: alpine/edge
packages:
- go
sources:
- https://github.com/emersion/go-imap
artifacts:
- coverage.html
tasks:
- build: |
cd go-imap
go build -race -v ./...
- test: |
cd go-imap
go test -coverprofile=coverage.txt -covermode=atomic ./...
- coverage: |
cd go-imap
go tool cover -html=coverage.txt -o ~/coverage.html