Skip to content

Commit 2b32d3b

Browse files
authored
Merge pull request #483 from consideRatio/pr/test-shell-fix
ci: fix test failure on windows and error on bash pipe failures etc
2 parents 2e1d700 + 1316e06 commit 2b32d3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
runs-on: ${{ matrix.os }}
6969
defaults:
7070
run:
71-
shell: bash # windows default isn't bash
71+
shell: bash --noprofile --norc -eo pipefail {0} # windows default isn't bash
7272

7373
strategy:
7474
fail-fast: false
@@ -119,7 +119,7 @@ jobs:
119119
python-version: "${{ matrix.python-version }}"
120120

121121
- name: Update root build packages
122-
run: pip install --upgrade pip
122+
run: python -m pip install --upgrade pip
123123

124124
- name: Download built artifacts
125125
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)