Skip to content

Commit c7450c3

Browse files
authored
Actually use the shipped module
1 parent d9a94eb commit c7450c3

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/tests_eessi_module.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -338,17 +338,15 @@ jobs:
338338
- name: Test if we can override the CPU family to check risc-v modules on an x86 system
339339
run: |
340340
# Initialise Lmod
341-
. /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}/init/lmod/bash
342-
343-
# Unload EESSI
344-
module purge
341+
. /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}/compat/linux/$(uname -m)/usr/share/Lmod/init/bash
342+
343+
export MODULEPATH=init/modules
345344
346345
# Set the overrides we want to test
347346
export EESSI_CPU_FAMILY_OVERRIDE=x86_64 # Running on an x86_64 system, so we need x86_64 compat layer
348347
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=riscv64/generic # Get modules for riscv64/generic
349348
export EESSI_VERSION_OVERRIDE=2025.06-001 # Override EESSI version, as versioning for riscv repo is different
350-
351-
# Load EESSI again with the overrides
349+
352350
module load EESSI/${{matrix.EESSI_VERSION}}
353351
354352
# Make sure the compat layer works with a simple ls

0 commit comments

Comments
 (0)