11name : Windows tests
22
33on :
4+ push :
5+ branches :
6+ - main
47 pull_request :
58 branches :
69 - main
1821 name : x86-64, LP64 OpenBLAS
1922 runs-on : windows-2019
2023 # To enable this job on a fork, comment out:
21- if : github.repository == 'numpy/numpy'
24+ # if: github.repository == 'numpy/numpy'
2225 strategy :
2326 fail-fast : false
2427 matrix :
@@ -40,20 +43,18 @@ jobs:
4043 python-version : ${{ matrix.compiler-pyversion[1] }}
4144 enable-cache : false
4245
43- - name : Ensure pip is installed
44- run : |
45- python -m ensurepip
46- python -m pip install -U pip setuptools
46+ - run :
47+ uv pip install --python=${{ matrix.version }} pip
4748
4849 # TODO: remove cython nightly install when cython does a release
4950 - name : Install nightly Cython
5051 if : matrix.compiler-pyversion[1] == '3.13t'
5152 run : |
52- python -m pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple cython
53+ pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple cython
5354
5455 - name : Install build dependencies from PyPI
5556 run : |
56- python -m pip install -r requirements/build_requirements.txt
57+ pip install -r requirements/build_requirements.txt
5758
5859 - name : Install pkg-config
5960 run : |
@@ -72,15 +73,15 @@ jobs:
7273 - name : Install NumPy (MSVC)
7374 if : matrix.compiler-pyversion[0] == 'MSVC'
7475 run : |
75- python -m pip install -r requirements/ci_requirements.txt
76- python -m spin build --with-scipy-openblas=32 -j2 -- --vsenv
76+ pip install -r requirements/ci_requirements.txt
77+ spin build --with-scipy-openblas=32 -j2 -- --vsenv
7778
7879 - name : Install NumPy (Clang-cl)
7980 if : matrix.compiler-pyversion[0] == 'Clang-cl'
8081 run : |
8182 "[binaries]","c = 'clang-cl'","cpp = 'clang-cl'","ar = 'llvm-lib'","c_ld = 'lld-link'","cpp_ld = 'lld-link'" | Out-File $PWD/clang-cl-build.ini -Encoding ascii
82- python -m pip install -r requirements/ci_requirements.txt
83- python -m spin build --with-scipy-openblas=32 -j2 -- --vsenv --native-file=$PWD/clang-cl-build.ini
83+ pip install -r requirements/ci_requirements.txt
84+ spin build --with-scipy-openblas=32 -j2 -- --vsenv --native-file=$PWD/clang-cl-build.ini
8485
8586 - name : Meson Log
8687 shell : bash
9091
9192 - name : Install test dependencies
9293 run : |
93- python -m pip install -r requirements/test_requirements.txt
94- python -m pip install threadpoolctl
94+ pip install -r requirements/test_requirements.txt
95+ pip install threadpoolctl
9596
9697 - name : Run test suite
9798 run : |
@@ -123,11 +124,11 @@ jobs:
123124
124125 - name : Build and install
125126 run : |
126- python -m pip install . -v -Ccompile-args="-j2" -Csetup-args="-Dallow-noblas=true"
127+ pip install . -v -Ccompile-args="-j2" -Csetup-args="-Dallow-noblas=true"
127128
128129 - name : Install test dependencies
129130 run : |
130- python -m pip install -r requirements/test_requirements.txt
131+ pip install -r requirements/test_requirements.txt
131132
132133 - name : Run test suite (fast)
133134 run : |
0 commit comments