File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 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)
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def _cocoindex_windows_env_fixture(
3636 print ("Exit with success." )
3737 sys .stdout .flush ()
3838
39- os . _exit ( 0 ) # immediate success exit (skips atexit/teardown )
39+ sys . exit ( 0 )
4040
4141 finally :
4242 try :
You can’t perform that action at this time.
0 commit comments