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
Branches
Tags
No related merge requests found
Pipeline #1929 canceled
...@@ -54,3 +54,4 @@ tfplan ...@@ -54,3 +54,4 @@ tfplan
*.venv *.venv
*.spec *.spec
report.xml report.xml
report/
...@@ -55,18 +55,9 @@ bats: ...@@ -55,18 +55,9 @@ bats:
tags: [host01.shore.co.il] tags: [host01.shore.co.il]
before_script: before_script:
- apt-get update - apt-get update
- apt-get install -y --no-install-recommends bats ca-certificates curl git - apt-get install -y --no-install-recommends bats 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/
script: script:
- bats tests/ | tee report.tap - bats --output report/ --formatter junit tests/
after_script:
- juxr tap --name bats --output report/ -- cat report.tap
artifacts: artifacts:
reports: reports:
junit: report/*.xml junit: report/*.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment