|
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: |
|
@@ -109,16 +106,13 @@ 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: |
|
@@ -163,16 +157,13 @@ 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: |
|
@@ -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: |
|
@@ -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: |
|
@@ -326,12 +311,15 @@ jobs:
|
326 | 311 | - name: Setup micromamba
|
327 | 312 | uses: mamba-org/setup-micromamba@v2
|
328 | 313 | with:
|
| 314 | + # run with micromamba 1.5.10 together with conda |
| 315 | + # conda.api is not API compatible with libmambapy |
| 316 | + micromamba-version: "1.5.10-0" |
329 | 317 | environment-name: xarray-tests
|
330 | 318 | create-args: >-
|
331 | 319 | python=3.12
|
332 | 320 | pyyaml
|
333 |
| - conda |
334 | 321 | python-dateutil
|
| 322 | + conda |
335 | 323 |
|
336 | 324 | - name: All-deps minimum versions policy
|
337 | 325 | run: |
|
|
0 commit comments