We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a8cc694 + 3399c55 commit b322ff5Copy full SHA for b322ff5
1 file changed
.gitlab-ci.yml
@@ -13,15 +13,18 @@ test:
13
- cd test/bats
14
- source install_bats.sh
15
- source variables.sh
16
- - $BATS_HOME/bats-core/bin/bats cdoc2_tests.bats
+ - $BATS_HOME/bats-core/bin/bats --gather-test-outputs-in target/reports -x --report-formatter junit --output target/ cdoc2_tests.bats
17
+ - 'for file in target/reports/*; do echo "## $file ##" >> target/bats-test.log; cat "$file" >> target/bats-test.log; done'
18
coverage: /Total \d+\.\d+ %/
19
artifacts:
20
when: always
21
reports:
22
junit:
23
- "**/target/surefire-reports/*.xml"
24
+ - "**/target/report.xml"
25
paths:
26
- "**/target/site/jacoco"
27
+ - "**/target/bats-test.log"
28
rules:
29
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
30
when: on_success
0 commit comments