File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -165,14 +165,13 @@ jobs:
165165 CXXFLAGS="/DDISABLE_QUADBLAS $CXXFLAGS"
166166 CIBW_REPAIR_WHEEL_COMMAND : ' delvewheel repair -w {dest_dir} {wheel} --add-path C:\sleef\bin'
167167 CIBW_TEST_COMMAND_WINDOWS : |
168- pip install {package}[test] && (
169- python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"
170- if errorlevel 1 (
171- pytest -s {project}/tests
172- ) else (
173- pytest --parallel-threads=10 --iterations=10 {project}/tests
174- )
175- )
168+ pip install {package}[test]
169+ python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"
170+ if ($LASTEXITCODE -ne 0) {
171+ pytest -s {project}/tests
172+ } else {
173+ pytest --parallel-threads=10 --iterations=10 {project}/tests
174+ }
176175 CIBW_TEST_EXTRAS : test
177176 shell : pwsh
178177 run : |
You can’t perform that action at this time.
0 commit comments