From dfc17ef18a82df1012da66bd135851667f5b0ddb Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Tue, 6 Feb 2024 12:23:23 -0500 Subject: [PATCH] fix bash --- .github/workflows/build.yaml | 2 +- .github/workflows/test.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b3d5896..21a9cf5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -59,7 +59,7 @@ jobs: name: build (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows-latest' id: wsl diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5953173..e1ee074 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -66,7 +66,7 @@ jobs: name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, tox ${{ matrix.default_factors }}${{ matrix.args != '' && ' -- ' || '' }}${{ matrix.args }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows-latest' uses: Vampire/setup-wsl@v2 @@ -144,7 +144,7 @@ jobs: name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows' uses: Vampire/setup-wsl@v2 @@ -214,7 +214,7 @@ jobs: name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows-latest' uses: Vampire/setup-wsl@v2 @@ -294,7 +294,7 @@ jobs: name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows-latest' uses: Vampire/setup-wsl@v2 @@ -370,7 +370,7 @@ jobs: name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows-latest' uses: Vampire/setup-wsl@v2