61
61
environment-name : xarray-tests
62
62
create-args : >-
63
63
python=${{env.PYTHON_VERSION}}
64
- conda
65
64
cache-environment : true
66
65
cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
67
66
70
69
python -m pip install --no-deps -e .
71
70
- name : Version info
72
71
run : |
73
- conda info -a
74
- conda list
75
72
python xarray/util/print_versions.py
76
73
- name : Run doctests
77
74
run : |
92
89
shell : bash -l {0}
93
90
env :
94
91
CONDA_ENV_FILE : ci/requirements/environment.yml
95
- PYTHON_VERSION : " 3.11 "
92
+ PYTHON_VERSION : " 3.12 "
96
93
97
94
steps :
98
95
- uses : actions/checkout@v4
@@ -109,27 +106,24 @@ jobs:
109
106
environment-name : xarray-tests
110
107
create-args : >-
111
108
python=${{env.PYTHON_VERSION}}
112
- conda
113
109
cache-environment : true
114
110
cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
115
111
- name : Install xarray
116
112
run : |
117
113
python -m pip install --no-deps -e .
118
114
- name : Version info
119
115
run : |
120
- conda info -a
121
- conda list
122
116
python xarray/util/print_versions.py
123
117
- name : Install mypy
124
118
run : |
125
- python -m pip install "mypy==1.11.2 " --force-reinstall
119
+ python -m pip install "mypy==1.13 " --force-reinstall
126
120
127
121
- name : Run mypy
128
122
run : |
129
123
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
130
124
131
125
- name : Upload mypy coverage to Codecov
132
- uses : codecov/codecov-action@v4.6.0
126
+ uses : codecov/codecov-action@v5.0.2
133
127
with :
134
128
file : mypy_report/cobertura.xml
135
129
flags : mypy
@@ -163,27 +157,24 @@ jobs:
163
157
environment-name : xarray-tests
164
158
create-args : >-
165
159
python=${{env.PYTHON_VERSION}}
166
- conda
167
160
cache-environment : true
168
161
cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
169
162
- name : Install xarray
170
163
run : |
171
164
python -m pip install --no-deps -e .
172
165
- name : Version info
173
166
run : |
174
- conda info -a
175
- conda list
176
167
python xarray/util/print_versions.py
177
168
- name : Install mypy
178
169
run : |
179
- python -m pip install "mypy==1.11.2 " --force-reinstall
170
+ python -m pip install "mypy==1.13 " --force-reinstall
180
171
181
172
- name : Run mypy
182
173
run : |
183
174
python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
184
175
185
176
- name : Upload mypy coverage to Codecov
186
- uses : codecov/codecov-action@v4.6.0
177
+ uses : codecov/codecov-action@v5.0.2
187
178
with :
188
179
file : mypy_report/cobertura.xml
189
180
flags : mypy-min
@@ -222,16 +213,13 @@ jobs:
222
213
environment-name : xarray-tests
223
214
create-args : >-
224
215
python=${{env.PYTHON_VERSION}}
225
- conda
226
216
cache-environment : true
227
217
cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
228
218
- name : Install xarray
229
219
run : |
230
220
python -m pip install --no-deps -e .
231
221
- name : Version info
232
222
run : |
233
- conda info -a
234
- conda list
235
223
python xarray/util/print_versions.py
236
224
- name : Install pyright
237
225
run : |
@@ -242,7 +230,7 @@ jobs:
242
230
python -m pyright xarray/
243
231
244
232
- name : Upload pyright coverage to Codecov
245
- uses : codecov/codecov-action@v4.6.0
233
+ uses : codecov/codecov-action@v5.0.2
246
234
with :
247
235
file : pyright_report/cobertura.xml
248
236
flags : pyright
@@ -281,16 +269,13 @@ jobs:
281
269
environment-name : xarray-tests
282
270
create-args : >-
283
271
python=${{env.PYTHON_VERSION}}
284
- conda
285
272
cache-environment : true
286
273
cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
287
274
- name : Install xarray
288
275
run : |
289
276
python -m pip install --no-deps -e .
290
277
- name : Version info
291
278
run : |
292
- conda info -a
293
- conda list
294
279
python xarray/util/print_versions.py
295
280
- name : Install pyright
296
281
run : |
@@ -301,7 +286,7 @@ jobs:
301
286
python -m pyright xarray/
302
287
303
288
- name : Upload pyright coverage to Codecov
304
- uses : codecov/codecov-action@v4.6.0
289
+ uses : codecov/codecov-action@v5.0.2
305
290
with :
306
291
file : pyright_report/cobertura.xml
307
292
flags : pyright39
@@ -318,6 +303,9 @@ jobs:
318
303
run :
319
304
shell : bash -l {0}
320
305
306
+ env :
307
+ COLUMNS : 120
308
+
321
309
steps :
322
310
- uses : actions/checkout@v4
323
311
with :
@@ -330,13 +318,16 @@ jobs:
330
318
create-args : >-
331
319
python=3.12
332
320
pyyaml
333
- conda
334
321
python-dateutil
322
+ cytoolz
323
+ rich
324
+ rich-click
325
+ py-rattler
335
326
336
327
- name : All-deps minimum versions policy
337
328
run : |
338
- python ci/min_deps_check .py ci/requirements/min-all-deps.yml
329
+ python ci/minimum_versions .py ci/requirements/min-all-deps.yml
339
330
340
331
- name : Bare minimum versions policy
341
332
run : |
342
- python ci/min_deps_check .py ci/requirements/bare-minimum.yml
333
+ python ci/minimum_versions .py ci/requirements/bare-minimum.yml
0 commit comments