Skip to content

Commit

Permalink
fix bash
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Feb 6, 2024
1 parent 987ad8b commit dfc17ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dfc17ef

Please sign in to comment.