Skip to content

Commit 2a404fc

Browse files
committed
#76 Fix portability workflow user
1 parent eb12f07 commit 2a404fc

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/image-tests.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,40 +41,47 @@ jobs:
4141
run: |
4242
su - runner
4343
44-
cat > init_build_env.sh<< EOF
45-
su - runner
44+
cat > init_build_env.sh << 'EOF'
4645
module use /home/runner/modules/modulefiles
4746
module load boost petsc_hdf5 sundials vtk xercesc xsd
4847
cd Chaste/build
4948
EOF
5049
50+
cat init_build_env.sh
51+
5152
- name: Configure
5253
run: |
54+
su - runner
5355
source init_build_env.sh
5456
cmake -DCMAKE_BUILD_TYPE=Release ..
5557
5658
- name: TestChasteBuildInfo
5759
run: |
60+
su - runner
5861
source init_build_env.sh
5962
cmake --build . --target TestChasteBuildInfo --parallel $(nproc)
6063
ctest -V -R TestChasteBuildInfo --output-on-failure
6164
6265
- name: Build Continuous test pack
6366
run: |
67+
su - runner
6468
source init_build_env.sh
6569
cmake --build . --target Continuous --parallel $(nproc)
6670
6771
- name: Build Nightly test pack
6872
run: |
73+
su - runner
6974
source init_build_env.sh
7075
cmake --build . --target Nightly --parallel $(nproc)
7176
7277
- name: Run Continuous test pack
7378
run: |
79+
su - runner
7480
source init_build_env.sh
7581
ctest -j $(nproc) -L Continuous --output-on-failure
7682
7783
- name: Run Nightly test pack
7884
run: |
85+
su - runner
7986
source init_build_env.sh
8087
ctest -j $(nproc) -L Nightly --output-on-failure

0 commit comments

Comments
 (0)