mirror of https://github.com/dirtbags/moth.git
Compare commits
3 Commits
8e0f4561a5
...
5720961e85
Author | SHA1 | Date |
---|---|---|
John Donaldson | 5720961e85 | |
John Donaldson | 466de2d9c6 | |
John Donaldson | 92d904150a |
|
@ -11,8 +11,14 @@ test:
|
|||
- main
|
||||
- merge_requests
|
||||
script:
|
||||
- go test -race ./...
|
||||
|
||||
- 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
|
||||
artifacts:
|
||||
reports:
|
||||
coverage_report:
|
||||
coverage_format: cobertura
|
||||
path: coverage.xml
|
||||
push:
|
||||
stage: push
|
||||
rules:
|
||||
|
|
Loading…
Reference in New Issue