@@ -14,6 +14,7 @@ concurrency:
14
14
15
15
env :
16
16
FORCE_COLOR : 3
17
+ MICROMAMBA_VERSION : " 2.0.2-2"
17
18
18
19
jobs :
19
20
detect-ci-trigger :
@@ -57,11 +58,11 @@ jobs:
57
58
- name : Setup micromamba
58
59
uses : mamba-org/setup-micromamba@v2
59
60
with :
61
+ micromamba-version : ${{env.MICROMAMBA_VERSION}}
60
62
environment-file : ${{env.CONDA_ENV_FILE}}
61
63
environment-name : xarray-tests
62
64
create-args : >-
63
65
python=${{env.PYTHON_VERSION}}
64
- conda
65
66
cache-environment : true
66
67
cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
67
68
70
71
python -m pip install --no-deps -e .
71
72
- name : Version info
72
73
run : |
73
- conda info -a
74
- conda list
75
74
python xarray/util/print_versions.py
76
75
- name : Run doctests
77
76
run : |
@@ -105,20 +104,18 @@ jobs:
105
104
- name : Setup micromamba
106
105
uses : mamba-org/setup-micromamba@v2
107
106
with :
107
+ micromamba-version : ${{env.MICROMAMBA_VERSION}}
108
108
environment-file : ${{env.CONDA_ENV_FILE}}
109
109
environment-name : xarray-tests
110
110
create-args : >-
111
111
python=${{env.PYTHON_VERSION}}
112
- conda
113
112
cache-environment : true
114
113
cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
115
114
- name : Install xarray
116
115
run : |
117
116
python -m pip install --no-deps -e .
118
117
- name : Version info
119
118
run : |
120
- conda info -a
121
- conda list
122
119
python xarray/util/print_versions.py
123
120
- name : Install mypy
124
121
run : |
@@ -159,20 +156,18 @@ jobs:
159
156
- name : Setup micromamba
160
157
uses : mamba-org/setup-micromamba@v2
161
158
with :
159
+ micromamba-version : ${{env.MICROMAMBA_VERSION}}
162
160
environment-file : ${{env.CONDA_ENV_FILE}}
163
161
environment-name : xarray-tests
164
162
create-args : >-
165
163
python=${{env.PYTHON_VERSION}}
166
- conda
167
164
cache-environment : true
168
165
cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
169
166
- name : Install xarray
170
167
run : |
171
168
python -m pip install --no-deps -e .
172
169
- name : Version info
173
170
run : |
174
- conda info -a
175
- conda list
176
171
python xarray/util/print_versions.py
177
172
- name : Install mypy
178
173
run : |
@@ -218,20 +213,18 @@ jobs:
218
213
- name : Setup micromamba
219
214
uses : mamba-org/setup-micromamba@v2
220
215
with :
216
+ micromamba-version : ${{env.MICROMAMBA_VERSION}}
221
217
environment-file : ${{env.CONDA_ENV_FILE}}
222
218
environment-name : xarray-tests
223
219
create-args : >-
224
220
python=${{env.PYTHON_VERSION}}
225
- conda
226
221
cache-environment : true
227
222
cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
228
223
- name : Install xarray
229
224
run : |
230
225
python -m pip install --no-deps -e .
231
226
- name : Version info
232
227
run : |
233
- conda info -a
234
- conda list
235
228
python xarray/util/print_versions.py
236
229
- name : Install pyright
237
230
run : |
@@ -277,20 +270,18 @@ jobs:
277
270
- name : Setup micromamba
278
271
uses : mamba-org/setup-micromamba@v2
279
272
with :
273
+ micromamba-version : ${{env.MICROMAMBA_VERSION}}
280
274
environment-file : ${{env.CONDA_ENV_FILE}}
281
275
environment-name : xarray-tests
282
276
create-args : >-
283
277
python=${{env.PYTHON_VERSION}}
284
- conda
285
278
cache-environment : true
286
279
cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
287
280
- name : Install xarray
288
281
run : |
289
282
python -m pip install --no-deps -e .
290
283
- name : Version info
291
284
run : |
292
- conda info -a
293
- conda list
294
285
python xarray/util/print_versions.py
295
286
- name : Install pyright
296
287
run : |
@@ -313,7 +304,8 @@ jobs:
313
304
name : Minimum Version Policy
314
305
runs-on : " ubuntu-latest"
315
306
needs : detect-ci-trigger
316
- if : needs.detect-ci-trigger.outputs.triggered == 'false'
307
+ # disabled until `conda` is compatible with the new `libmambapy`
308
+ if : false && needs.detect-ci-trigger.outputs.triggered == 'false'
317
309
defaults :
318
310
run :
319
311
shell : bash -l {0}
@@ -326,12 +318,13 @@ jobs:
326
318
- name : Setup micromamba
327
319
uses : mamba-org/setup-micromamba@v2
328
320
with :
321
+ micromamba-version : ${{env.MICROMAMBA_VERSION}}
329
322
environment-name : xarray-tests
330
323
create-args : >-
331
324
python=3.12
332
325
pyyaml
333
- conda
334
326
python-dateutil
327
+ libmambapy
335
328
336
329
- name : All-deps minimum versions policy
337
330
run : |
0 commit comments