Skip to content

Commit 8574f47

Browse files
committed
debug: switch shell in Windows to cmd
1 parent b2a6ba0 commit 8574f47

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/_test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,13 @@ jobs:
5151
- name: Python build
5252
run: |
5353
${{ matrix.platform.python_exec }} -m maturin develop -E all
54-
- name: Python tests
54+
- name: Python tests (non-Windows)
55+
if: ${{ !startsWith(matrix.platform.runner, 'windows') }}
56+
run: |
57+
${{ matrix.platform.python_exec }} -m pytest --capture=no python/cocoindex/tests
58+
- name: Python tests (Windows)
59+
if: ${{ startsWith(matrix.platform.runner, 'windows') }}
60+
shell: cmd
5561
run: |
5662
${{ matrix.platform.python_exec }} -m pytest --capture=no python/cocoindex/tests
5763
- name: Python type check (mypy)

0 commit comments

Comments
 (0)