Skip to content

Commit f84c212

Browse files
authored
Switch GitHub Actions to install environments with mamba #5375 (#5387)
* Update pytest.yml to install using mamba * Added miniforge variant and version * Added miniforge to windows job
1 parent afb10f9 commit f84c212

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/pytest.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,13 @@ jobs:
134134
hashFiles('requirements.txt') }}
135135
- uses: conda-incubator/setup-miniconda@v2
136136
with:
137+
miniforge-variant: Mambaforge
138+
miniforge-version: latest
139+
mamba-version: "*"
137140
activate-environment: pymc-test-py37
138141
channel-priority: strict
139142
environment-file: conda-envs/environment-test-py37.yml
143+
use-mamba: true
140144
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
141145
- name: Install-pymc
142146
run: |
@@ -214,9 +218,13 @@ jobs:
214218
hashFiles('requirements.txt') }}
215219
- uses: conda-incubator/setup-miniconda@v2
216220
with:
221+
miniforge-variant: Mambaforge
222+
miniforge-version: latest
223+
mamba-version: "*"
217224
activate-environment: pymc-test-py38
218225
channel-priority: strict
219226
environment-file: conda-envs/windows-environment-test-py38.yml
227+
use-mamba: true
220228
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
221229
- name: Install-pymc
222230
run: |

0 commit comments

Comments
 (0)