Skip to content

Commit 7377237

Browse files
committed
ci: update micromamba
1 parent 733fa8f commit 7377237

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/python.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,15 @@ jobs:
2121
python-version: [ '3.9', '3.10', '3.11' ]
2222
steps:
2323
- uses: actions/checkout@v3
24-
- uses: mamba-org/provision-with-micromamba@main
24+
- uses: mamba-org/setup-micromamba@v1
2525
with:
2626
environment-file: environment.yml
2727
channels: conda-forge
28+
cache-environment: true
29+
post-cleanup: 'all'
30+
init-shell: >-
31+
bash
32+
powershell
2833
extra-specs: python=${{ matrix.python-version }}
2934
- name: Run tests
3035
run: |

.github/workflows/sphinx-rtd.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,16 @@ jobs:
3131
- name: Checkout
3232
uses: actions/checkout@v3
3333

34-
- uses: mamba-org/provision-with-micromamba@main
34+
- uses: mamba-org/setup-micromamba@v1
3535
with:
3636
environment-file: environment.yml
3737
channels: conda-forge
38-
extra-specs: python=3.10
38+
cache-environment: true
39+
post-cleanup: 'all'
40+
init-shell: >-
41+
bash
42+
powershell
43+
extra-specs: python=3.11
3944

4045
- name: Install documentation dependencies
4146
run: |

0 commit comments

Comments
 (0)