File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 2222build : convert
2323buildall : convertall
2424
25+ # 'set -e' is used to cause the bash loop to immediately exit on a failure.
26+ # without this, the github actions workflow can succeed even if commands in these
27+ # bash loops (installing packages, executing notebooks, converting notebooks) fail
2528execute :
29+ set -e; \
2630 i=0; \
2731 _paths=($( MODIFIED_RQT_PATHS) ); \
2832 for notebook in ${MODIFIED_NOTEBOOKS} ; do \
@@ -44,6 +48,7 @@ convert:
4448 done
4549
4650executeall :
51+ set -e; \
4752 i=0; \
4853 _paths=(${ALL_RQT_PATHS} ); \
4954 for notebook in ${ALL_NOTEBOOKS} ; do \
@@ -54,6 +59,7 @@ executeall:
5459 done
5560
5661convertall :
62+ set -e; \
5763 i=0; \
5864 _paths=($( ALL_RQT_PATHS) ); \
5965 for notebook in ${ALL_NOTEBOOKS} ; do \
You can’t perform that action at this time.
0 commit comments