1- name : Build using pip
1+ name : Build using pip and pre-release NumPy
22
33on :
44 push :
@@ -17,20 +17,21 @@ jobs:
1717
1818 strategy :
1919 matrix :
20- python : ['3.10', '3.11', '3.12']
21- numpy_ver : ['1.26.4', '2.2.5' ]
20+ python : ['3.9', '3. 10', '3.11', '3.12']
21+ use_pre : ["", "--pre" ]
2222
2323 steps :
2424 - name : Install jq
2525 shell : bash -l {0}
2626 run : |
2727 sudo apt-get install jq
2828
29- - uses : actions/checkout@v4
29+ - name : Checkout repo
30+ 3031 with :
3132 fetch-depth : 0
3233
33- - uses : conda-incubator/setup-miniconda@v3
34+ - uses : conda-incubator/setup-miniconda@v3.1.1
3435 with :
3536 use-mamba : true
3637 miniforge-version : latest
@@ -49,11 +50,11 @@ jobs:
4950 - name : Build conda package
5051 run : |
5152 pip install --no-cache-dir scikit-build cmake ninja cython
52- pip install --no-cache-dir numpy== ${{ matrix.numpy_ver }}
53+ pip install --no-cache-dir numpy ${{ matrix.use_pre }}
5354 echo "CONDA_PREFFIX is '${CONDA_PREFIX}'"
5455 export MKLROOT=${CONDA_PREFIX}
5556 pip install . --no-build-isolation --no-deps --verbose
56- pip install --no-cache-dir pytest
57+ pip install --no-cache-dir pytest
5758 pip list
58- cd ../..
59- python -m pytest -v mkl_umath/mkl_umath/mkl_umath/ tests
59+ cd ..
60+ python -m pytest -v mkl_umath/mkl_umath/tests
0 commit comments