mirror of https://github.com/dirtbags/moth.git
Compare commits
No commits in common. "5ba58664b6ef40f19206b1ce8b405d8287581a28" and "5720961e855488e71e5c7949fbd6c7605a302ea8" have entirely different histories.
5ba58664b6
...
5720961e85
|
@ -14,17 +14,11 @@ test:
|
|||
- go test -coverprofile=coverage.txt -covermode=atomic -race ./...
|
||||
- go get github.com/boumenot/gocover-cobertura
|
||||
- go run github.com/boumenot/gocover-cobertura < coverage.txt > coverage.xml
|
||||
- go tool cover -html=coverage.txt -o coverage.html
|
||||
- go tool cover -func coverage.txt
|
||||
coverage: /\(statements\)(?:\s+)?(\d+(?:\.\d+)?%)/
|
||||
artifacts:
|
||||
reports:
|
||||
coverage_report:
|
||||
coverage_format: cobertura
|
||||
path: coverage.xml
|
||||
paths:
|
||||
- coverage.html
|
||||
- coverage.txt
|
||||
push:
|
||||
stage: push
|
||||
rules:
|
||||
|
|
Loading…
Reference in New Issue