4343 run : conda install conda-build
4444 - name : Build conda package
4545 run : |
46- CHANNELS="-c conda-forge -c intel --override-channels"
46+ CHANNELS="-c conda-forge -c https://software.repos. intel.com/python/conda --override-channels"
4747 VERSIONS="--python ${{ matrix.python }}"
4848 TEST="--no-test"
4949
8989 - name : Install conda-build
9090 run : conda install conda-build
9191 - name : Build conda package
92- run : conda build --no-test --python ${{ matrix.python }} -c intel -c conda-forge --override-channels conda-recipe
92+ run : conda build --no-test --python ${{ matrix.python }} -c https://software.repos. intel.com/python/conda -c conda-forge --override-channels conda-recipe
9393 - name : Upload artifact
9494 uses : actions/upload-artifact@v4
9595 with :
@@ -103,11 +103,12 @@ jobs:
103103 strategy :
104104 matrix :
105105 python : ['3.9', '3.10']
106+ numpy : ['1.26*']
106107 experimental : [false]
107108 runner : [ubuntu-latest]
108109 continue-on-error : ${{ matrix.experimental }}
109110 env :
110- CHANNELS : -c conda-forge -c intel --override-channels
111+ CHANNELS : -c conda-forge -c https://software.repos. intel.com/python/conda --override-channels
111112
112113 steps :
113114 - name : Download artifact
@@ -132,7 +133,7 @@ jobs:
132133 . $CONDA/etc/profile.d/conda.sh
133134 CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
134135 export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
135- conda create -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=${PACKAGE_VERSION} python=${{ matrix.python }} $CHANNELS --only-deps --dry-run > lockfile
136+ conda create -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=${PACKAGE_VERSION} python=${{ matrix.python }} numpy=${{ matrix.numpy }} $CHANNELS --only-deps --dry-run > lockfile
136137 cat lockfile
137138 - name : Set pkgs_dirs
138139 run : |
@@ -154,7 +155,7 @@ jobs:
154155 . $CONDA/etc/profile.d/conda.sh
155156 CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
156157 export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
157- conda create -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=${PACKAGE_VERSION} pytest python=${{ matrix.python }} $CHANNELS
158+ conda create -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=${PACKAGE_VERSION} pytest python=${{ matrix.python }} numpy=${{ matrix.numpy }} $CHANNELS
158159 # Test installed packages
159160 conda list
160161 - name : Run tests
@@ -170,11 +171,12 @@ jobs:
170171 strategy :
171172 matrix :
172173 python : ['3.9', '3.10']
174+ numpy : ['1.26*']
173175 experimental : [false]
174176 runner : [windows-2019]
175177 continue-on-error : ${{ matrix.experimental }}
176178 env :
177- CHANNELS : -c conda-forge -c intel --override-channels
179+ CHANNELS : -c conda-forge -c https://software.repos. intel.com/python/conda --override-channels
178180
179181 steps :
180182 - name : Download artifact
@@ -205,7 +207,7 @@ jobs:
205207 FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
206208 SET PACKAGE_VERSION=%%F
207209 )
208- conda create -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% python=${{ matrix.python }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }} --only-deps --dry-run > lockfile
210+ conda create -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% python=${{ matrix.python }} numpy=${{ matrix.numpy }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }} --only-deps --dry-run > lockfile
209211 more lockfile
210212 - name : Cache conda packages
211213 uses : actions/cache@v4
@@ -227,7 +229,7 @@ jobs:
227229 FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
228230 SET PACKAGE_VERSION=%%F
229231 )
230- conda create -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% pytest python=${{ matrix.python }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }}
232+ conda create -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% pytest python=${{ matrix.python }} numpy=${{ matrix.numpy }} -c ${{ env.GITHUB_WORKSPACE }}/channel ${{ env.CHANNELS }}
231233 # Test installed packages
232234 conda list
233235 - name : Run tests
0 commit comments