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:
117117 ls -la quaddtype/numpy_quaddtype/QBLAS/
118118 ls -la quaddtype/numpy_quaddtype/QBLAS/include/quadblas/
119119
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
122124
123125 - name : Build wheels
124126 env :
125- CIBW_BUILD : " cp310-* cp311-* cp312-* cp313-* cp314-*"
127+ CIBW_BUILD : " cp310-* cp311-* cp312-* cp313-* cp314-* cp313t-* cp314t-* "
126128 CIBW_ARCHS_MACOS : ${{ matrix.os == 'macos-13' && 'x86_64' || 'arm64' }}
127129 CIBW_BUILD_VERBOSITY : " 3"
128130 CIBW_ENVIRONMENT : >
@@ -136,7 +138,11 @@ jobs:
136138 delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
137139 CIBW_TEST_COMMAND : |
138140 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
140146 CIBW_TEST_EXTRAS : " test"
141147 run : |
142148 python -m cibuildwheel --output-dir wheelhouse
You can’t perform that action at this time.
0 commit comments