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
|
||||||
|
@ -54,4 +59,4 @@ steps:
|
||||||
RENOVATE_PLATFORM: gitea
|
RENOVATE_PLATFORM: gitea
|
||||||
RENOVATE_AUTODISCOVER: "false"
|
RENOVATE_AUTODISCOVER: "false"
|
||||||
RENOVATE_ENDPOINT: https://code.icb4dc0.de/api/v1
|
RENOVATE_ENDPOINT: https://code.icb4dc0.de/api/v1
|
||||||
LOG_LEVEL: info
|
LOG_LEVEL: info
|
||||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -18,4 +18,5 @@ dist/
|
||||||
.idea/
|
.idea/
|
||||||
.fleet/
|
.fleet/
|
||||||
cue.mod/
|
cue.mod/
|
||||||
.go/
|
.go/
|
||||||
|
out/
|
Loading…
Reference in a new issue