File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,12 @@ jobs:
3636 echo "CONDA_ENV_FILE=ci/requirements/environment.yml" >> $GITHUB_ENV
3737 echo "PYTHON_VERSION=${{ matrix.python-version }}" >> $GITHUB_ENV
3838 - name : Create conda environment
39- uses : mamba-org/provision-with- micromamba@main
39+ uses : mamba-org/setup- micromamba@v1
4040 with :
4141 cache-downloads : true
42- cache-downloads-key : " ${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
43- micromamba-version : ' latest'
42+ cache-downloads-key : " ${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}"
4443 environment-file : ci/requirements/environment.yml
45- extra-specs : |
44+ create-args : >-
4645 python=${{ matrix.python-version }}
4746 - name : Install py-cordex
4847 run : |
Original file line number Diff line number Diff line change @@ -30,17 +30,16 @@ jobs:
3030 fetch-depth : 0 # Fetch all history for all branches and tags.
3131
3232 - name : Create conda environment
33- uses : mamba-org/provision-with- micromamba@main
33+ uses : mamba-org/setup- micromamba@v1
3434 with :
35- environment-name : py-cordex-linting
36- micromamba-version : ' latest '
35+ cache-downloads : true
36+ cache-downloads-key : " ${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}} "
3737 environment-file : ci/requirements/environment.yml
38- extra-specs : |
38+ create-args : >-
3939 python=${{ matrix.python-version }}
4040 black
4141 isort
4242 flake8
43- channels : conda-forge
4443
4544 - name : Install py-cordex
4645 run : |
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ Internal Changes
1010~~~~~~~~~~~~~~~~
1111
1212- Added CI for python 3.12 (:pull: `184 `).
13+ - Switch CI to `setup-micromamba ` (:pull: `185 `).
1314
1415Bugfixes
1516~~~~~~~~
You can’t perform that action at this time.
0 commit comments