Skip to content

Commit 123394f

Browse files
committed
CI: force bash shell for 'make' steps
1 parent a8effc2 commit 123394f

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ jobs:
3030
- name: Execute the notebooks
3131
run: |
3232
make executeall
33+
shell: bash
3334

3435
- name: Convert the notebooks to HTML
3536
run: |
3637
make convertall
38+
shell: bash
3739

3840
- name: Name artifact
3941
id: nameartifact

.github/workflows/prs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
export TUTORIALS_MAIN_BRANCH=origin/main
3939
make executeall
4040
make convertall
41+
shell: bash
4142

4243
# Otherwise, only run tutorials that have been modified
4344
- name: Run only modified tutorials
@@ -46,6 +47,7 @@ jobs:
4647
export TUTORIALS_MAIN_BRANCH=origin/main
4748
make execute
4849
make convert
50+
shell: bash
4951

5052
- name: Name artifact
5153
id: nameartifact

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ convert:
4040

4141
executeall:
4242
i=0; \
43-
_paths=${ALL_RQT_PATHS}; \
43+
_paths=(${ALL_RQT_PATHS}); \
4444
for notebook in ${ALL_NOTEBOOKS}; do \
4545
echo $${_paths[i]}; \
4646
python -m pip install --force-reinstall -r $${_paths[i]}; \

0 commit comments

Comments
 (0)