File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,18 @@ test:
1313 - cd test/bats
1414 - source install_bats.sh
1515 - source variables.sh
16- - $BATS_HOME/bats-core/bin/bats cdoc2_tests.bats
16+ - $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'
1718 coverage : /Total \d+\.\d+ %/
1819 artifacts :
1920 when : always
2021 reports :
2122 junit :
2223 - " **/target/surefire-reports/*.xml"
24+ - " **/target/report.xml"
2325 paths :
2426 - " **/target/site/jacoco"
27+ - " **/target/bats-test.log"
2528 rules :
2629 - if : $CI_PIPELINE_SOURCE == "merge_request_event"
2730 when : on_success
You can’t perform that action at this time.
0 commit comments