We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ca8bfa commit 4af19dcCopy full SHA for 4af19dc
.github/workflows/build_wheels.yml
@@ -164,7 +164,15 @@ jobs:
164
CFLAGS="/DDISABLE_QUADBLAS $CFLAGS"
165
CXXFLAGS="/DDISABLE_QUADBLAS $CXXFLAGS"
166
CIBW_REPAIR_WHEEL_COMMAND: 'delvewheel repair -w {dest_dir} {wheel} --add-path C:\sleef\bin'
167
- CIBW_TEST_COMMAND_WINDOWS: pip install {package}[test] && pytest -s {project}/tests
+ 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
176
CIBW_TEST_EXTRAS: test
177
shell: pwsh
178
run: |
0 commit comments