Skip to content

Commit 10ee7f3

Browse files
authored
Update on-push.yml: moved from provision-with-micromamba to setup-micromamba as the former is deprecated.
1 parent d3ccb63 commit 10ee7f3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/on-push.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@ jobs:
2929
- uses: pre-commit/[email protected]
3030

3131
unit-tests:
32-
name: unit-tests (3.10)
32+
name: unit-tests (3.12)
3333
runs-on: ubuntu-latest
3434

3535
steps:
3636
- uses: actions/checkout@v3
3737
- name: Install Conda environment with Micromamba
38-
uses: mamba-org/provision-with-micromamba@v14
38+
uses: mamba-org/setup-micromamba@v1
3939
with:
4040
environment-file: environment.yml
4141
environment-name: DEVELOP
4242
channels: conda-forge
4343
cache-env: true
44-
extra-specs: |
45-
python=3.10
44+
create-args: |
45+
python=3.12
4646
- name: Install package
4747
run: |
4848
python -m pip install --no-deps -e .
@@ -57,14 +57,14 @@ jobs:
5757
steps:
5858
- uses: actions/checkout@v3
5959
- name: Install Conda environment with Micromamba
60-
uses: mamba-org/provision-with-micromamba@v14
60+
uses: mamba-org/setup-micromamba@v1
6161
with:
6262
environment-file: docs/requirements.txt
6363
environment-name: DEVELOP
6464
channels: conda-forge
6565
cache-env: true
66-
extra-specs: |
67-
python=3.10
66+
create-args: |
67+
python=3.12
6868
- name: Install package
6969
run: |
7070
python -m pip install --no-deps -e .
@@ -79,13 +79,13 @@ jobs:
7979
strategy:
8080
matrix:
8181
include:
82-
- python-version: '3.8'
82+
- python-version: '3.12'
8383
extra: -minver
8484

8585
steps:
8686
- uses: actions/checkout@v3
8787
- name: Install Conda environment with Micromamba
88-
uses: mamba-org/provision-with-micromamba@v14
88+
uses: mamba-org/setup-micromamba@v1
8989
with:
9090
environment-file: environment${{ matrix.extra }}.yml
9191
environment-name: DEVELOP${{ matrix.extra }}

0 commit comments

Comments
 (0)