1818 runs-on : ubuntu-latest
1919 strategy :
2020 matrix :
21- python : ["3.10", "3.11", "3.12", "3.13"]
21+ python : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
2222 steps :
2323 - name : Cancel Previous Runs
2424 uses : styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
@@ -45,26 +45,26 @@ jobs:
4545 ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
4646
4747 - name : Add conda to system path
48- run : echo $CONDA/bin >> $GITHUB_PATH
48+ run : echo " $CONDA/bin" >> " $GITHUB_PATH"
4949
5050 - name : Install conda-build
5151 run : conda install conda-build
5252
5353 - name : Build conda package
5454 run : |
55- CHANNELS=" -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels"
56- VERSIONS=" --python ${{ matrix.python }}"
57- TEST=" --no-test"
58- echo "CONDA_BLD=${CONDA}/conda-bld/linux-64" >> $GITHUB_ENV
55+ CHANNELS=( -c " https://software.repos.intel.com/python/conda" -c " conda-forge" --override-channels)
56+ VERSIONS=( --python " ${{ matrix.python }}")
57+ TEST=( --no-test)
58+ echo "CONDA_BLD=${CONDA}/conda-bld/linux-64" >> " $GITHUB_ENV"
5959
6060 conda build \
61- $ TEST \
62- $ VERSIONS \
63- $ CHANNELS \
61+ "${ TEST[@]}" \
62+ "${ VERSIONS[@]}" \
63+ "${ CHANNELS[@]}" \
6464 conda-recipe
6565
6666 - name : Upload artifact
67- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
67+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7 .0.0
6868 with :
6969 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
7070 path : ${{ env.CONDA_BLD }}/${{ env.PACKAGE_NAME }}-*.conda
7575
7676 strategy :
7777 matrix :
78- python : ["3.10", "3.11", "3.12", "3.13"]
78+ python : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
7979 experimental : [false]
8080 runner : [ubuntu-latest]
8181 continue-on-error : ${{ matrix.experimental }}
@@ -84,25 +84,25 @@ jobs:
8484
8585 steps :
8686 - name : Download artifact
87- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 .0.0
87+ uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8 .0.0
8888 with :
8989 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
9090 - name : Add conda to system path
91- run : echo $CONDA/bin >> $GITHUB_PATH
91+ run : echo " $CONDA/bin" >> " $GITHUB_PATH"
9292 - name : Install conda-build
9393 run : conda install conda-build
9494 - name : Create conda channel
9595 run : |
96- mkdir -p $GITHUB_WORKSPACE/channel/linux-64
97- mv ${PACKAGE_NAME}-*.conda $GITHUB_WORKSPACE/channel/linux-64
98- conda index $GITHUB_WORKSPACE/channel
96+ mkdir -p " $GITHUB_WORKSPACE/channel/linux-64"
97+ mv " ${PACKAGE_NAME}" -*.conda " $GITHUB_WORKSPACE/channel/linux-64"
98+ conda index " $GITHUB_WORKSPACE/channel"
9999 # Test channel
100- conda search $PACKAGE_NAME -c $GITHUB_WORKSPACE/channel --override-channels
100+ conda search " $PACKAGE_NAME" -c " $GITHUB_WORKSPACE/channel" --override-channels
101101
102102 - name : Collect dependencies
103103 run : |
104- CHANNELS=" -c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
105- conda create -n test_mkl_umath $PACKAGE_NAME python=${{ matrix.python }} $ CHANNELS --only-deps --dry-run > lockfile
104+ CHANNELS=( -c " $GITHUB_WORKSPACE/channel" -c "https://software.repos.intel.com/python/conda" -c "conda-forge" --override-channels)
105+ conda create -n test_mkl_umath " $PACKAGE_NAME" " python=${{ matrix.python }}" "${ CHANNELS[@]}" --only-deps --dry-run > lockfile
106106 - name : Display lockfile
107107 run : cat lockfile
108108
@@ -124,20 +124,20 @@ jobs:
124124
125125 - name : Install mkl_umath
126126 run : |
127- CHANNELS=" -c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
128- conda create -n test_mkl_umath python=${{ matrix.python }} $PACKAGE_NAME pytest $ CHANNELS
127+ CHANNELS=( -c " $GITHUB_WORKSPACE/channel" -c "https://software.repos.intel.com/python/conda" -c "conda-forge" --override-channels)
128+ conda create -n test_mkl_umath " python=${{ matrix.python }}" " $PACKAGE_NAME" pytest "${ CHANNELS[@]}"
129129 # Test installed packages
130130 conda list -n test_mkl_umath
131131
132132 - name : Smoke test
133133 run : |
134- source $CONDA/etc/profile.d/conda.sh
134+ source " $CONDA/etc/profile.d/conda.sh"
135135 conda activate test_mkl_umath
136136 python -c "import mkl_umath, numpy as np; mkl_umath.use_in_numpy(); np.sin(np.linspace(0, 1, num=10**6));"
137137
138138 - name : Run tests
139139 run : |
140- source $CONDA/etc/profile.d/conda.sh
140+ source " $CONDA/etc/profile.d/conda.sh"
141141 conda activate test_mkl_umath
142142 pytest -v --pyargs ${{ env.PACKAGE_NAME }}
143143
@@ -146,7 +146,7 @@ jobs:
146146
147147 strategy :
148148 matrix :
149- python : ["3.10", "3.11", "3.12", "3.13"]
149+ python : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
150150 env :
151151 conda-bld : C:\Miniconda\conda-bld\win-64\
152152 steps :
@@ -182,7 +182,7 @@ jobs:
182182 - name : Store conda paths as envs
183183 shell : bash -l {0}
184184 run : |
185- echo "CONDA_BLD=$CONDA/conda-bld/win-64/" | tr "\\\\" '/' >> $GITHUB_ENV
185+ echo "CONDA_BLD=$CONDA/conda-bld/win-64/" | tr "\\\\" '/' >> " $GITHUB_ENV"
186186
187187 - name : Install conda build
188188 run : |
@@ -196,7 +196,7 @@ jobs:
196196 conda build --no-test --python ${{ matrix.python }} -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels conda-recipe
197197
198198 - name : Upload artifact
199- uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
199+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7 .0.0
200200 with :
201201 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
202202 path : ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.conda
@@ -209,7 +209,7 @@ jobs:
209209 shell : cmd /C CALL {0}
210210 strategy :
211211 matrix :
212- python : ["3.10", "3.11", "3.12", "3.13"]
212+ python : ["3.10", "3.11", "3.12", "3.13", "3.14" ]
213213 experimental : [false]
214214 runner : [windows-latest]
215215 continue-on-error : ${{ matrix.experimental }}
@@ -219,7 +219,7 @@ jobs:
219219
220220 steps :
221221 - name : Download artifact
222- uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7 .0.0
222+ uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8 .0.0
223223 with :
224224 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
225225
@@ -319,8 +319,8 @@ jobs:
319319 shell : cmd /C CALL {0}
320320 run : |
321321 conda activate
322- echo "Value of CONDA enviroment variable was: " %CONDA%
323- echo "Value of CONDA_PREFIX enviroment variable was: " %CONDA_PREFIX%
322+ echo "Value of CONDA environment variable was: " %CONDA%
323+ echo "Value of CONDA_PREFIX environment variable was: " %CONDA_PREFIX%
324324 conda info && conda list -n mkl_umath_test
325325
326326 - name : Smoke test
0 commit comments