Skip to content

Commit 142c951

Browse files
michaelcdevinjtgrasb
authored andcommitted
Use Miniforge distribution in CI (sandialabs#392)
* switch to Miniforge distribution since Mambaforge is no longer supported * updated name * updated to newer GitHub Action version * changed miniforge variant * switched to v2 of GH Action since v3 defaults to osx-arm64
1 parent b9e1e0d commit 142c951

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
# - the content of pyproject.toml changes
3131
# - you manually change the value of the CACHE_NUMBER below
3232
# Else the existing cache is used.
33-
- name: Setup Mambaforge
33+
- name: Setup Miniforge
3434
uses: conda-incubator/setup-miniconda@v2
3535
with:
36-
miniforge-variant: Mambaforge
36+
miniforge-variant: Miniforge3
3737
miniforge-version: latest
3838
activate-environment: test-env
3939
use-mamba: true
@@ -45,8 +45,6 @@ jobs:
4545
shell: bash
4646

4747
# create a conda yaml file
48-
# for some reason Windows installs capytaine 1.4 instead of latest.
49-
# CHANGE: Capytaine version
5048
- name: Create environment.yml file
5149
run: |
5250
echo "name: test-env" >> environment.yml;

.github/workflows/push.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
# - the content of pyproject.toml changes
3131
# - you manually change the value of the CACHE_NUMBER below
3232
# Else the existing cache is used.
33-
- name: Setup Mambaforge
33+
- name: Setup Miniforge
3434
uses: conda-incubator/setup-miniconda@v2
3535
with:
36-
miniforge-variant: Mambaforge
36+
miniforge-variant: Miniforge3
3737
miniforge-version: latest
3838
activate-environment: test-env
3939
use-mamba: true
@@ -45,8 +45,6 @@ jobs:
4545
shell: bash
4646

4747
# create a conda yaml file
48-
# for some reason Windows installs capytaine 1.4 instead of latest.
49-
# CHANGE: Capytaine version
5048
- name: Create environment.yml file
5149
run: |
5250
echo "name: test-env" >> environment.yml;

0 commit comments

Comments
 (0)