From 748b953fae44cf5f159970a08808c40811471206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Tue, 1 Oct 2024 09:29:45 +0200 Subject: [PATCH] CI: Fix bash call (#716) --- .github/workflows/build.yaml | 5 ++++- .github/workflows/docs.yaml | 2 +- .github/workflows/gallery.yaml | 2 +- .github/workflows/test.yaml | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2b0c9eb3b..8e506d522 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,7 +13,7 @@ on: defaults: run: - shell: bash -l {0} + shell: bash -e {0} env: PYTHON_VERSION: "3.11" @@ -60,6 +60,9 @@ jobs: runs-on: ubuntu-latest needs: [conda_build, waiting_room] if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') + defaults: + run: + shell: bash -el {0} steps: - uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 2078bc994..2dea7a452 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -22,7 +22,7 @@ on: defaults: run: - shell: bash -l {0} + shell: bash -e {0} jobs: pixi_lock: diff --git a/.github/workflows/gallery.yaml b/.github/workflows/gallery.yaml index 729949c51..7762904dd 100644 --- a/.github/workflows/gallery.yaml +++ b/.github/workflows/gallery.yaml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest defaults: run: - shell: bash -l {0} + shell: bash -e {0} steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b243de791..717f7c3f6 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -29,7 +29,7 @@ concurrency: defaults: run: - shell: bash -l {0} + shell: bash -e {0} env: DISPLAY: ":99.0"