Skip to content

Commit 4466baf

Browse files
actions: add "pipefail" protection to tests
1 parent bd2a1df commit 4466baf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717

1818
defaults:
1919
run:
20-
shell: micromamba-shell {0}
20+
shell: bash -c "exec $CONDA_PREFIX/bin/bash -elo pipefail {0}"
2121

2222
jobs:
2323
test:
@@ -36,7 +36,6 @@ jobs:
3636
- name: Configure Python
3737
uses: mamba-org/setup-micromamba@v2
3838
with:
39-
generate-run-shell: true
4039
cache-environment: true
4140
post-cleanup: 'all'
4241
environment-name: cylc
@@ -122,7 +121,6 @@ jobs:
122121
- name: Configure Python
123122
uses: mamba-org/setup-micromamba@v2
124123
with:
125-
generate-run-shell: true
126124
cache-environment: true
127125
post-cleanup: 'all'
128126
environment-name: cylc

0 commit comments

Comments
 (0)