Skip to content

Commit daaa525

Browse files
committed
Bad indentation
1 parent dd4ffd5 commit daaa525

1 file changed

Lines changed: 32 additions & 32 deletions

File tree

.github/workflows/test-software.eessi.io.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ jobs:
200200
cvmfs_http_proxy: DIRECT
201201
cvmfs_repositories: software.eessi.io
202202

203-
- name: Check for missing installlations
203+
- name: Check for missing installations
204204
if: >
205205
contains(
206206
needs.check_EESSI_version_changed_files.outputs.EESSI_VERSIONS,
@@ -293,34 +293,34 @@ jobs:
293293
fi
294294
done
295295
296-
- name: Test check_missing_installations.sh with missing package (GCC/8.3.0)
297-
run: |
298-
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}
299-
source /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}/init/bash
300-
# set $EESSI_CPU_FAMILY to the CPU architecture that corresponds to $EESSI_SOFTWARE_SUBDIR_OVERRIDE (part before the first slash),
301-
# to prevent issues with checks in the Easybuild configuration that use this variable
302-
export EESSI_CPU_FAMILY=${EESSI_SOFTWARE_SUBDIR_OVERRIDE%%/*}
303-
module load EasyBuild
304-
which eb
305-
eb --version
306-
export EESSI_PREFIX=/cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}
307-
export EESSI_OS_TYPE=linux
308-
env | grep ^EESSI | sort
309-
# create dummy easystack file with a single entry (something that is not installed in EESSI)
310-
easystack_file="test.yml"
311-
echo "easyconfigs:" > ${easystack_file}
312-
echo " - GCC-8.3.0:" >> ${easystack_file}
313-
echo "created easystack file '${easystack_file}' with a missing installation (GCC/8.3.0):"
314-
cat ${easystack_file}
315-
# note, check_missing_installations.sh exits 1 if a package was
316-
# missing, which is intepreted as false (exit code based, not
317-
# boolean logic), hence when the script exits 0 if no package was
318-
# missing it is interpreted as true, thus the test did not capture
319-
# the missing package
320-
if software-layer-scripts/check_missing_installations.sh ${easystack_file}; then
321-
echo "did NOT capture missing package; test FAILED"
322-
exit 1
323-
else
324-
echo "captured missing package; test PASSED"
325-
exit 0
326-
fi
296+
- name: Test check_missing_installations.sh with missing package (GCC/8.3.0)
297+
run: |
298+
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=${{matrix.EESSI_SOFTWARE_SUBDIR_OVERRIDE}}
299+
source /cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}/init/bash
300+
# set $EESSI_CPU_FAMILY to the CPU architecture that corresponds to $EESSI_SOFTWARE_SUBDIR_OVERRIDE (part before the first slash),
301+
# to prevent issues with checks in the Easybuild configuration that use this variable
302+
export EESSI_CPU_FAMILY=${EESSI_SOFTWARE_SUBDIR_OVERRIDE%%/*}
303+
module load EasyBuild
304+
which eb
305+
eb --version
306+
export EESSI_PREFIX=/cvmfs/software.eessi.io/versions/${{matrix.EESSI_VERSION}}
307+
export EESSI_OS_TYPE=linux
308+
env | grep ^EESSI | sort
309+
# create dummy easystack file with a single entry (something that is not installed in EESSI)
310+
easystack_file="test.yml"
311+
echo "easyconfigs:" > ${easystack_file}
312+
echo " - GCC-8.3.0:" >> ${easystack_file}
313+
echo "created easystack file '${easystack_file}' with a missing installation (GCC/8.3.0):"
314+
cat ${easystack_file}
315+
# note, check_missing_installations.sh exits 1 if a package was
316+
# missing, which is intepreted as false (exit code based, not
317+
# boolean logic), hence when the script exits 0 if no package was
318+
# missing it is interpreted as true, thus the test did not capture
319+
# the missing package
320+
if software-layer-scripts/check_missing_installations.sh ${easystack_file}; then
321+
echo "did NOT capture missing package; test FAILED"
322+
exit 1
323+
else
324+
echo "captured missing package; test PASSED"
325+
exit 0
326+
fi

0 commit comments

Comments
 (0)