File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 11name : Tests
22
33on :
4- # Trigger the workflow on push or pull request,
5- # but only for the main branch
64 push :
75 branches :
8- - ' **' # this matches all branches
6+ - ' **'
97 pull_request :
108 branches :
119 - main
1210
1311jobs :
1412 build_wheels :
15- name : Build and test on ${{ matrix.os }}
13+ name : Build and test on ${{ matrix.os }}${{ matrix.numpy-version && format(' (numpy {0})', matrix.numpy-version) || '' }}
1614 runs-on : ${{ matrix.os }}
1715 strategy :
1816 matrix :
1917 os : [ubuntu-latest, windows-latest, macos-latest]
2018 python-version : ["3.12"]
19+ numpy-version : [null]
20+ include :
21+ - os : ubuntu-latest
22+ python-version : " 3.12"
23+ numpy-version : " 1.26"
2124
2225 steps :
2326 - uses : actions/checkout@v5
3033 - name : Install Ninja
3134 uses : seanmiddleditch/gha-setup-ninja@master
3235
36+ - name : Install specific numpy version
37+ if : matrix.numpy-version
38+ run : pip install "numpy==${{ matrix.numpy-version }}.*"
39+
3340 - name : Build
3441 run : pip install -e .[test]
3542
You can’t perform that action at this time.
0 commit comments