diff --git a/.gitignore b/.gitignore index e05f10099224ac49397b42da870f5b8bb3a1a2b5..48e1e6491fe2b40fb2f39fba3d1e295be1395188 100644 --- a/.gitignore +++ b/.gitignore @@ -54,3 +54,4 @@ tfplan *.venv *.spec report.xml +report/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d35b9724dbd7c8d7d4492c7996ec2dca421c44a..b7df55e3b6fb5c4ed5af878f9977ebab133ba454 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/report/.gitkeep b/report/.gitkeep new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391