1212
1313 strategy :
1414 matrix :
15- python : ["3.10", "3.11", "3.12", "3.13"]
16- numpy_version : ["numpy' >=2' "]
15+ python : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
16+ numpy_version : ["numpy>=2"]
1717 env :
1818 ONEAPI_ROOT : /opt/intel/oneapi
1919
2323
2424 steps :
2525 - name : Cancel Previous Runs
26- uses : styfle/cancel-workflow-action@0.12.1
26+ uses : styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # v0.13.0
2727 with :
2828 access_token : ${{ github.token }}
2929
@@ -42,35 +42,35 @@ jobs:
4242 sudo apt-get install intel-oneapi-mkl-devel
4343
4444 - name : Setup Python
45- uses : actions/setup-python@v5
45+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4646 with :
4747 python-version : ${{ matrix.python }}
4848 architecture : x64
4949
5050 - name : Checkout repo
51- uses : actions/checkout@v4
51+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5252 with :
5353 fetch-depth : 0
5454
5555 - name : Install mkl_random dependencies
5656 run : |
5757 pip install cython setuptools">=77"
58- pip install ${{ matrix.numpy_version }}
58+ pip install " ${{ matrix.numpy_version }}"
5959
6060 - name : List oneAPI folder content
61- run : ls ${{ env.ONEAPI_ROOT }}/compiler
61+ run : ls " ${{ env.ONEAPI_ROOT }}/compiler"
6262
6363 - name : Build mkl_random
6464 run : |
65- source ${{ env.ONEAPI_ROOT }}/setvars.sh
66- echo $CMPLR_ROOT
67- export CC=$CMPLR_ROOT/bin/icx
68- export CXX=$CMPLR_ROOT/bin/icpx
65+ source " ${{ env.ONEAPI_ROOT }}/setvars.sh"
66+ echo " $CMPLR_ROOT"
67+ export CC=" $CMPLR_ROOT/bin/icx"
68+ export CXX=" $CMPLR_ROOT/bin/icpx"
6969 export CFLAGS="${CFLAGS} -fno-fast-math -O2"
7070 pip install -e . --no-build-isolation --no-deps --verbose
7171
7272 - name : Run mkl_random tests
7373 run : |
74- source ${{ env.ONEAPI_ROOT }}/setvars.sh
74+ source " ${{ env.ONEAPI_ROOT }}/setvars.sh"
7575 pip install pytest
7676 pytest -s -v --pyargs mkl_random
0 commit comments