Skip to content
Snippets Groups Projects
Commit 880f95b0 authored by nimrod's avatar nimrod
Browse files

Output junit directly from Bats.

Should make the CI job even faster!
parent 40affc9f
No related branches found
No related tags found
No related merge requests found
Pipeline #1929 canceled
......@@ -54,3 +54,4 @@ tfplan
*.venv
*.spec
report.xml
report/
......@@ -55,18 +55,9 @@ bats:
tags: [host01.shore.co.il]
before_script:
- apt-get update
- apt-get install -y --no-install-recommends bats ca-certificates curl git
- >-
curl
--location
--silent
https://github.com/cloudbees-oss/juxr/releases/download/0.1.22/juxr-x86_64-unknown-linux-gnu.tar.gz
|
tar -zxC /usr/local/bin/
- apt-get install -y --no-install-recommends bats git
script:
- bats tests/ | tee report.tap
after_script:
- juxr tap --name bats --output report/ -- cat report.tap
- bats --output report/ --formatter junit tests/
artifacts:
reports:
junit: report/*.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment