Commit 880f95b0 authored by nimrod's avatar nimrod
Browse files

Output junit directly from Bats.

Should make the CI job even faster!
parent 40affc9f
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -54,3 +54,4 @@ tfplan
*.venv
*.spec
report.xml
report/
+2 −11
Original line number Diff line number Diff line
@@ -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

report/.gitkeep

0 → 100644
+0 −0

Empty file added.