mirror of https://github.com/dirtbags/moth.git
Compare commits
No commits in common. "67d58df1567b59a28caa8a687f056f23e393ff40" and "e5b6bf487ac61364c7ffba197aea41b56cace247" have entirely different histories.
67d58df156
...
e5b6bf487a
|
@ -14,17 +14,11 @@ test:
|
||||||
- go test -coverprofile=coverage.txt -covermode=atomic -race ./...
|
- go test -coverprofile=coverage.txt -covermode=atomic -race ./...
|
||||||
- go get github.com/boumenot/gocover-cobertura
|
- go get github.com/boumenot/gocover-cobertura
|
||||||
- go run github.com/boumenot/gocover-cobertura < coverage.txt > coverage.xml
|
- 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:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
coverage_report:
|
coverage_report:
|
||||||
coverage_format: cobertura
|
coverage_format: cobertura
|
||||||
path: coverage.xml
|
path: coverage.xml
|
||||||
paths:
|
|
||||||
- coverage.html
|
|
||||||
- coverage.txt
|
|
||||||
push:
|
push:
|
||||||
stage: push
|
stage: push
|
||||||
rules:
|
rules:
|
||||||
|
|
Loading…
Reference in New Issue