We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c79922 commit 95d1de6Copy full SHA for 95d1de6
1 file changed
.github/workflows/test_eessi_container_script.yml
@@ -88,6 +88,17 @@ jobs:
88
./eessi_container.sh --verbose --mode exec /test/test_script.sh | tee ${outfile}
89
grep "${out_pattern}" ${outfile}
90
91
+ # test use of --mode run, which should now print a warning
92
+ elif [[ ${{matrix.SCRIPT_TEST}} == 'run' ]]; then
93
+ outfile=out_run.txt
94
+ echo "${test_cmd}" > test_script.sh
95
+ chmod u+x test_script.sh
96
+ export SINGULARITY_BIND="$PWD:/test"
97
+ ./eessi_container.sh --verbose --mode run /test/test_script.sh | tee ${outfile}
98
+ grep "${out_pattern}" ${outfile}
99
+ warn_message="Note: the behaviour of the run mode has changed."
100
+ grep "${warn_message}" ${outfile}
101
+
102
# test use of --mode shell
103
elif [[ ${{matrix.SCRIPT_TEST}} == 'shell' ]]; then
104
outfile=out_shell.txt
0 commit comments