From 26d0e7cfb9cffcbb81d9cda787edfbeb1ec5b35f Mon Sep 17 00:00:00 2001
From: Thomas Kluyver <thomas.kluyver@xfel.eu>
Date: Wed, 15 May 2024 17:41:05 +0100
Subject: [PATCH] Try setting MODULEPATH environment variable directly

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1db5db033..706c5677f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,8 +23,8 @@ default:
     - source .venv/bin/activate
     - python3 -m pip install --upgrade pip setuptools wheel
     - source /etc/profile.d/modules.sh
+    - export MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles
     - module avail
-    - echo $MODULEPATH
 
 checks:
   stage: check
-- 
GitLab