File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -117,12 +117,14 @@ jobs:
117
117
ls -la quaddtype/numpy_quaddtype/QBLAS/
118
118
ls -la quaddtype/numpy_quaddtype/QBLAS/include/quadblas/
119
119
120
- - name : Install cibuildwheel
121
- run : pip install cibuildwheel==3.1.4
120
+ - name : Installing dependencies
121
+ run : |
122
+ pip install -U pip
123
+ pip install pytest-run-parallel
122
124
123
125
- name : Build wheels
124
126
env :
125
- CIBW_BUILD : " cp310-* cp311-* cp312-* cp313-* cp314-*"
127
+ CIBW_BUILD : " cp310-* cp311-* cp312-* cp313-* cp314-* cp313t-* cp314t-* "
126
128
CIBW_ARCHS_MACOS : ${{ matrix.os == 'macos-13' && 'x86_64' || 'arm64' }}
127
129
CIBW_BUILD_VERBOSITY : " 3"
128
130
CIBW_ENVIRONMENT : >
@@ -136,7 +138,11 @@ jobs:
136
138
delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
137
139
CIBW_TEST_COMMAND : |
138
140
pip install {package}[test]
139
- pytest -s {project}/tests
141
+ if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then
142
+ pytest --parallel-threads=10 --iterations=10 {project}/tests
143
+ else
144
+ pytest -s {project}/tests
145
+ fi
140
146
CIBW_TEST_EXTRAS : " test"
141
147
run : |
142
148
python -m cibuildwheel --output-dir wheelhouse
You can’t perform that action at this time.
0 commit comments