mirror of https://github.com/dirtbags/moth.git
Merge branch 'main' of https://git.cyberfire.ninja/devs/moth into add_admin_state_mechanisms
This commit is contained in:
commit
e00ee97a98
|
@ -11,8 +11,14 @@ test:
|
||||||
- main
|
- main
|
||||||
- merge_requests
|
- merge_requests
|
||||||
script:
|
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:
|
push:
|
||||||
stage: push
|
stage: push
|
||||||
rules:
|
rules:
|
||||||
|
|
Loading…
Reference in New Issue