43
43
run : conda install conda-build
44
44
- name : Build conda package
45
45
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"
47
47
VERSIONS="--python ${{ matrix.python }}"
48
48
TEST="--no-test"
49
49
89
89
- name : Install conda-build
90
90
run : conda install conda-build
91
91
- 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
93
93
- name : Upload artifact
94
94
uses : actions/upload-artifact@v4
95
95
with :
@@ -103,11 +103,12 @@ jobs:
103
103
strategy :
104
104
matrix :
105
105
python : ['3.9', '3.10']
106
+ numpy : ['1.26*']
106
107
experimental : [false]
107
108
runner : [ubuntu-latest]
108
109
continue-on-error : ${{ matrix.experimental }}
109
110
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
111
112
112
113
steps :
113
114
- name : Download artifact
@@ -132,7 +133,7 @@ jobs:
132
133
. $CONDA/etc/profile.d/conda.sh
133
134
CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
134
135
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
136
137
cat lockfile
137
138
- name : Set pkgs_dirs
138
139
run : |
@@ -154,7 +155,7 @@ jobs:
154
155
. $CONDA/etc/profile.d/conda.sh
155
156
CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
156
157
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
158
159
# Test installed packages
159
160
conda list
160
161
- name : Run tests
@@ -170,11 +171,12 @@ jobs:
170
171
strategy :
171
172
matrix :
172
173
python : ['3.9', '3.10']
174
+ numpy : ['1.26*']
173
175
experimental : [false]
174
176
runner : [windows-2019]
175
177
continue-on-error : ${{ matrix.experimental }}
176
178
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
178
180
179
181
steps :
180
182
- name : Download artifact
@@ -205,7 +207,7 @@ jobs:
205
207
FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
206
208
SET PACKAGE_VERSION=%%F
207
209
)
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
209
211
more lockfile
210
212
- name : Cache conda packages
211
213
uses : actions/cache@v4
@@ -227,7 +229,7 @@ jobs:
227
229
FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
228
230
SET PACKAGE_VERSION=%%F
229
231
)
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 }}
231
233
# Test installed packages
232
234
conda list
233
235
- name : Run tests
0 commit comments