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

@ -18,4 +18,5 @@ dist/
.idea/
.fleet/
cue.mod/
.go/
.go/
out/