|
48 | 48 | CIBW_REPAIR_WHEEL_COMMAND: | |
49 | 49 | auditwheel repair -w {dest_dir} --plat manylinux_2_28_x86_64 {wheel} |
50 | 50 | CIBW_TEST_COMMAND: | |
51 | | - pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy |
52 | | - pip install {package}[test] |
| 51 | + pip install --pre --upgrade --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy |
| 52 | + pip install --no-deps {package} |
| 53 | + pip install pytest pytest-run-parallel |
53 | 54 | if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then |
54 | 55 | pytest --parallel-threads=10 --iterations=10 {project}/tests |
55 | 56 | else |
@@ -111,8 +112,9 @@ jobs: |
111 | 112 | CIBW_REPAIR_WHEEL_COMMAND: > |
112 | 113 | delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} |
113 | 114 | CIBW_TEST_COMMAND: | |
114 | | - pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy |
115 | | - pip install {package}[test] |
| 115 | + pip install --pre --upgrade --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy |
| 116 | + pip install --no-deps {package} |
| 117 | + pip install pytest pytest-run-parallel |
116 | 118 | if python -c "import sys; exit(0 if hasattr(sys, '_is_gil_enabled') and not sys._is_gil_enabled() else 1)"; then |
117 | 119 | pytest --parallel-threads=10 --iterations=10 {project}/tests |
118 | 120 | else |
@@ -176,7 +178,7 @@ jobs: |
176 | 178 | CFLAGS="/DDISABLE_QUADBLAS $CFLAGS" |
177 | 179 | CXXFLAGS="/DDISABLE_QUADBLAS $CXXFLAGS" |
178 | 180 | CIBW_REPAIR_WHEEL_COMMAND: 'delvewheel repair -w {dest_dir} {wheel} --add-path C:\sleef\bin' |
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 |
| 181 | + CIBW_TEST_COMMAND_WINDOWS: pip install --pre --upgrade --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy && pip install --no-deps {package} && pip install pytest pytest-run-parallel && pytest -s {project}/tests |
180 | 182 | CIBW_TEST_EXTRAS: test |
181 | 183 | shell: pwsh |
182 | 184 | run: | |
|
0 commit comments