feat(ci): display test results in drone
Some checks are pending
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is running

This commit is contained in:
Peter 2023-03-05 11:28:20 +01:00
parent 5a82043b55
commit 92e334d373
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9
2 changed files with 9 additions and 3 deletions

View file

@ -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
View file

@ -19,3 +19,4 @@ dist/
.fleet/ .fleet/
cue.mod/ cue.mod/
.go/ .go/
out/