Skip to content
Snippets Groups Projects
Commit bfe7b9ab authored by ale's avatar ale
Browse files

Add JUnit test reporting to CI pipeline

parent 40fdb0d5
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,12 @@ stages:
test:
stage: test
image: "ai/test:go"
script: "go-test-runner ."
script:
- "go get -u github.com/jstemmer/go-junit-report"
- "go-test-runner ./... 2>&1 | go-junit-report > junit.xml"
artifacts:
reports:
junit: junit.xml
build:src:
stage: build_src
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment