1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 10:22:19 +00:00

Upload HTML coverage as artifact

This commit is contained in:
Alexandre Iooss 2020-10-09 22:55:32 +02:00
parent 34e1e22bf1
commit c7d38ba546
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02

View File

@ -10,6 +10,11 @@ unit_tests:
script:
- go test -v -covermode=count -coverprofile cover.cov ./...
- go tool cover -func=cover.cov
- go tool cover -html=cover.cov -o coverage.html
artifacts:
paths:
- coverage.html
expire_in: 1 week
linters:
image: golang:1.15-alpine