Skip to content

Commit 884d7e2

Browse files
committed
Force bash shell on Windows CI runners
1 parent a3b2517 commit 884d7e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,10 @@ jobs:
5050
rust: stable
5151
test: std
5252
- os: windows-2022
53-
# powershell format
54-
wgpu-flags: '$env:DISABLE_WGPU = "1";'
53+
wgpu-flags: "DISABLE_WGPU=1"
5554
# not used yet, as wgpu tests are disabled on windows for now
5655
# see issue: https://github.com/tracel-ai/burn/issues/1062
57-
# auto-graphics-backend-flags: '$env:AUTO_GRAPHICS_BACKEND = "dx12";'
56+
# auto-graphics-backend-flags: "AUTO_GRAPHICS_BACKEND=dx12";'
5857
exclude:
5958
# only need to check this once
6059
- rust: 1.71.0
@@ -159,6 +158,7 @@ jobs:
159158
uses: napokue/[email protected]
160159

161160
- name: run checks & tests
161+
shell: bash
162162
run: ${{ matrix.coverage-flags }} ${{ matrix.wgpu-flags }} cargo xtask run-checks ${{ matrix.test }}
163163

164164
- name: Codecov upload

0 commit comments

Comments
 (0)