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
|
||||
commands:
|
||||
- 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
|
||||
|
@ -54,4 +59,4 @@ steps:
|
|||
RENOVATE_PLATFORM: gitea
|
||||
RENOVATE_AUTODISCOVER: "false"
|
||||
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/
|
||||
.fleet/
|
||||
cue.mod/
|
||||
.go/
|
||||
.go/
|
||||
out/
|
Loading…
Reference in a new issue