We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d777465 commit e002cceCopy full SHA for e002cce
.gitlab/unit-tests.yml
@@ -1,5 +1,7 @@
1
unit-tests:
2
needs: ["diff", "tidy"]
3
+ variables:
4
+ GOTESTSUM_JUNITFILE: "unit-tests-report.xml"
5
rules:
6
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
7
- if: "$CI_PROJECT_NAMESPACE != 'haproxy-controller/community' && $CI_PIPELINE_SOURCE == 'push'"
@@ -13,3 +15,9 @@ unit-tests:
13
15
- export PATH=$PATH:/root/go/bin
14
16
script:
17
- task test
18
+ artifacts:
19
+ when: always
20
+ paths:
21
+ - unit-tests-report.xml
22
+ reports:
23
+ junit: unit-tests-report.xml
0 commit comments