From 08ccdab0386ab4e2378a716003894adcc362a85e Mon Sep 17 00:00:00 2001
From: "Patrick L.S. Connor" <connorpa@mail.desy.de>
Date: Sat, 20 Jul 2024 09:27:57 +0200
Subject: [PATCH] fix artifacts in CI

---
 .gitlab-ci.yml | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4ee5a19..6f8eb65 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,17 +9,17 @@ LCG:
         - source /cvmfs/sft.cern.ch/lcg/views/LCG_104/x86_64-el9-gcc13-opt/setup.sh
         - ./install.sh
         - source tools/setup.sh
-        - ctest --test-dir Darwin.build --output-junit Darwin_test_report.xml
-        - ctest --test-dir Core.build --output-junit Core_test_report.xml
+        - ctest --test-dir Darwin.build --output-junit Testing/Temporary/test_report.xml -j$(nproc)
+        - ctest --test-dir Core.build   --output-junit Testing/Temporary/test_report.xml -j$(nproc)
     artifacts:
       when: always
       paths:
-        - Darwin_test_report.xml
-        - Core_test_report.xml
+        - Darwin.build/Testing/Temporary
+        - Core.build/Testing/Temporary
       reports:
         junit:
-        - Darwin_test_report.xml
-        - Core_test_report.xml
+        - Darwin.build/Testing/Temporary/test_report.xml
+        - Core.build/Testing/Temporary/test_report.xml
 
 micromamba:
     stage: build
@@ -31,14 +31,14 @@ micromamba:
         - micromamba activate DAS
         - ./install.sh
         - source tools/setup.sh
-        - ctest --test-dir Darwin.build --output-junit Darwin_test_report.xml
-        - ctest --test-dir Core.build --output-junit Core_test_report.xml
+        - ctest --test-dir Darwin.build --output-junit Testing/Temporary/test_report.xml -j$(nproc)
+        - ctest --test-dir Core.build   --output-junit Testing/Temporary/test_report.xml -j$(nproc)
     artifacts:
       when: always
       paths:
-        - Darwin_test_report.xml
-        - Core_test_report.xml
+        - Darwin.build/Testing/Temporary
+        - Core.build/Testing/Temporary
       reports:
         junit:
-        - Darwin_test_report.xml
-        - Core_test_report.xml
+        - Darwin.build/Testing/Temporary/test_report.xml
+        - Core.build/Testing/Temporary/test_report.xml
-- 
GitLab