@@ -200,11 +200,14 @@ jobs:
200
200
uses : actions/download-artifact@v3
201
201
with :
202
202
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
203
+
203
204
- uses : conda-incubator/setup-miniconda@v3
204
205
with :
206
+ auto-update-conda : true
207
+ conda-build-version : ' *'
205
208
miniforge-variant : Miniforge3
206
209
miniforge-version : latest
207
- activate-environment : build
210
+ activate-environment : mkl_umath_test
208
211
channels : conda-forge
209
212
python-version : ${{ matrix.python }}
210
213
@@ -219,18 +222,15 @@ jobs:
219
222
- name : Index the channel
220
223
shell : cmd /C CALL {0}
221
224
run : |
222
- conda activate
223
225
conda index ${{ env.workdir }}\channel
224
226
225
227
- name : Dump mkl_umath version info from created channel to STDOUT
226
228
shell : cmd /C CALL {0}
227
229
run : |
228
- conda activate
229
230
conda search ${{ env.PACKAGE_NAME }} -c ${{ env.workdir }}/channel --override-channels --info --json
230
231
- name : Dump mkl_umath version info from created channel into ver.json
231
232
shell : cmd /C CALL {0}
232
233
run : |
233
- conda activate
234
234
conda search ${{ env.PACKAGE_NAME }} -c ${{ env.workdir }}/channel --override-channels --info --json > ${{ env.workdir }}\ver.json
235
235
- name : Output content of workdir
236
236
shell : pwsh
@@ -248,7 +248,6 @@ jobs:
248
248
FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
249
249
SET PACKAGE_VERSION=%%F
250
250
)
251
- conda activate
252
251
conda install -n mkl_umath_test ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }} --only-deps --dry-run > lockfile
253
252
- name : Display lockfile content
254
253
shell : pwsh
0 commit comments