From df6702b6b5a916c7bf0939d9c53ed974d117f817 Mon Sep 17 00:00:00 2001
From: FASER Reco <faserrec@lxplus965.cern.ch>
Date: Mon, 27 Jan 2025 04:37:23 +0100
Subject: [PATCH] Fix unit test

---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4ecd6a28..e56d26a2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,8 +37,9 @@ test_unittest:
   stage: test
   tags:
     - k8s-cvmfs
-  script: 
-    - set +e && export ALRB_CONT_RUNPAYLOAD="asetup --input=asetup.faser Athena,24.0.41; cd build; source `find . -name 'setup.sh'`; ctest -j3" && set -e
+  script:
+    # Ugly, setup.sh is found before changing to the build directory...
+    - set +e && export ALRB_CONT_RUNPAYLOAD="asetup --input=asetup.faser Athena,24.0.41; cd build; source ../`find . -name 'setup.sh'`; ctest -j3" && set -e
     - echo $ALRB_CONT_RUNPAYLOAD
     - set +e && source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh -c alma9 && set -e
   dependencies:
-- 
GitLab