Skip to content

Commit 755b666

Browse files
committed
move conda setup action from miniconda to micromamba
1 parent f7db0dc commit 755b666

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

.github/workflows/test-sundials.yml

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,6 @@ jobs:
143143
tox-env: py39
144144
- python-version: "3.13"
145145
tox-env: py313
146-
exclude:
147-
- os: windows-latest # Issue with tox venv, pip has no ssl access
148-
python-version: "3.9"
149146

150147
defaults:
151148
run:
@@ -155,21 +152,21 @@ jobs:
155152
- name: Checkout repository
156153
uses: actions/checkout@v4
157154

158-
- name: Setup conda/python
159-
uses: conda-incubator/setup-miniconda@v3
155+
- name: Setup Python and SUNDIALS
156+
uses: mamba-org/setup-micromamba@v2
160157
with:
161-
auto-update-conda: true
162-
miniconda-version: latest
163-
activate-environment: odes
164-
python-version: ${{ matrix.python-version }}
165-
166-
- name: Setup SUNDIALS
167-
run: conda install sundials=${{ matrix.sundials-version }} -c conda-forge
158+
environment-name: odes
159+
create-args: >-
160+
python=${{ matrix.python-version }}
161+
sundials=${{ matrix.sundials-version }}
162+
condarc: |
163+
channels:
164+
- conda-forge
168165
169166
- name: Verify environment
170167
run: |
171-
conda info
172-
conda list
168+
micromamba info
169+
micromamba list
173170
174171
- name: Set SUNDIALS path
175172
run: |
@@ -190,8 +187,8 @@ jobs:
190187
191188
- name: List info
192189
run: |
193-
conda info
194-
conda list
190+
micromamba info
191+
micromamba list
195192
196193
- name: Run tests
197194
working-directory: packages/scikits-odes-sundials

0 commit comments

Comments
 (0)