From b136dc4629f96e3277d3ea7d2909a34148cca44b Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 11 Sep 2021 22:35:32 +0300
Subject: [PATCH] Remove juxr usage for Bats.

Bats now supports junit's XML output so there's no need for it.
---
 templates/bats.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/templates/bats.yml b/templates/bats.yml
index 0dd1920..8354e87 100644
--- a/templates/bats.yml
+++ b/templates/bats.yml
@@ -4,9 +4,7 @@ bats:
   image: registry.shore.co.il/ci-images:bats
   tags: [ns4.shore.co.il]
   script:
-    - bats tests/ | tee results.tap
-  after_script:
-    - juxr tap --name bats --output results/ -- cat results.tap
+    - bats --output report/ --formatter junit tests/
   variables:
     GIT_SUBMODULE_STRATEGY: recursive
   artifacts:
-- 
GitLab