feat(ci): display test results in drone
This commit is contained in:
parent
5a82043b55
commit
92e334d373
2 changed files with 9 additions and 3 deletions
|
@ -28,7 +28,12 @@ steps:
|
||||||
DOCKER_HOST: tcp://localhost:2375
|
DOCKER_HOST: tcp://localhost:2375
|
||||||
commands:
|
commands:
|
||||||
- go install gotest.tools/gotestsum@latest
|
- go install gotest.tools/gotestsum@latest
|
||||||
- gotestsum -f pkgname-and-test-fails -- -race -shuffle=on ./...
|
- gotestsum --junitfile out/results.xml --format pkgname-and-test-fails -- -race -shuffle=on ./...
|
||||||
|
|
||||||
|
- name: junit-reports
|
||||||
|
image: ghcr.io/rohit-gohri/drone-junit:v0
|
||||||
|
settings:
|
||||||
|
paths: out/results.xml
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -19,3 +19,4 @@ dist/
|
||||||
.fleet/
|
.fleet/
|
||||||
cue.mod/
|
cue.mod/
|
||||||
.go/
|
.go/
|
||||||
|
out/
|
Loading…
Reference in a new issue