Commit bfe7b9ab authored by ale's avatar ale

Add JUnit test reporting to CI pipeline

parent 40fdb0d5
Pipeline #1245 failed with stages
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment