Skip to content

Commit

Permalink
Fix RHEL unit tests by running setup-env.sh as user spack-test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Feb 9, 2023
1 parent e206fc0 commit 5e5bcba
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 5e5bcba

Please sign in to comment.