From 5e5bcba858b147fe3e83da1565ec03c49157e136 Mon Sep 17 00:00:00 2001 From: Alex Richert Date: Wed, 8 Feb 2023 16:02:54 -0800 Subject: [PATCH] Fix RHEL unit tests by running setup-env.sh as user spack-test --- .github/workflows/unit_tests.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 1833f6d9d45187..d15d9000139f69 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -162,15 +162,10 @@ jobs: useradd spack-test chown -R spack-test . - name: remove-extension + shell: runuser -u spack-test -- bash {0} run: | - echo AJWR1 - ls -l /__w/spack/spack source share/spack/setup-env.sh - echo AJWR2 - ls -l /__w/spack/spack spack config --scope=defaults rm "config:extensions" - echo AJWR3 - ls -l /__w/spack/spack - name: Run unit tests shell: runuser -u spack-test -- bash {0} run: |