Skip to content

Commit df811f8

Browse files
committed
window fix && test fix
1 parent 76c76c0 commit df811f8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build_wheels.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
CIBW_REPAIR_WHEEL_COMMAND: |
4949
auditwheel repair -w {dest_dir} --plat manylinux_2_28_x86_64 {wheel}
5050
CIBW_TEST_COMMAND: |
51+
pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
5152
pip install {package}[test]
5253
if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then
5354
pytest --parallel-threads=10 --iterations=10 {project}/tests
@@ -110,6 +111,7 @@ jobs:
110111
CIBW_REPAIR_WHEEL_COMMAND: >
111112
delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}
112113
CIBW_TEST_COMMAND: |
114+
pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
113115
pip install {package}[test]
114116
if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then
115117
pytest --parallel-threads=10 --iterations=10 {project}/tests
@@ -166,15 +168,15 @@ jobs:
166168
CIBW_BUILD_VERBOSITY: "3"
167169
DISTUTILS_USE_SDK: "1"
168170
MSSdk: "1"
169-
CIBW_BEFORE_BUILD: |
170-
pip install meson meson-python ninja wheel
171+
CIBW_BEFORE_BUILD: >-
172+
pip install meson meson-python ninja wheel &&
171173
pip install --pre --upgrade --timeout=60 --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
172174
CIBW_BUILD_FRONTEND: "pip; args: --no-build-isolation"
173175
CIBW_ENVIRONMENT: >
174176
CFLAGS="/DDISABLE_QUADBLAS $CFLAGS"
175177
CXXFLAGS="/DDISABLE_QUADBLAS $CXXFLAGS"
176178
CIBW_REPAIR_WHEEL_COMMAND: 'delvewheel repair -w {dest_dir} {wheel} --add-path C:\sleef\bin'
177-
CIBW_TEST_COMMAND_WINDOWS: pip install {package}[test] && pytest -s {project}/tests
179+
CIBW_TEST_COMMAND_WINDOWS: pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy && pip install {package}[test] && pytest -s {project}/tests
178180
CIBW_TEST_EXTRAS: test
179181
shell: pwsh
180182
run: |

0 commit comments

Comments
 (0)