Skip to content

Commit

Permalink
Use Miniforge distribution in CI (#392) (#393)
Browse files Browse the repository at this point in the history
* 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

Co-authored-by: Michael Devin <[email protected]>
  • Loading branch information
jtgrasb and michaelcdevin authored Jan 28, 2025
1 parent b9e1e0d commit c5751e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
# - the content of pyproject.toml changes
# - you manually change the value of the CACHE_NUMBER below
# Else the existing cache is used.
- name: Setup Mambaforge
- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-variant: Miniforge3
miniforge-version: latest
activate-environment: test-env
use-mamba: true
Expand All @@ -45,8 +45,6 @@ jobs:
shell: bash

# create a conda yaml file
# for some reason Windows installs capytaine 1.4 instead of latest.
# CHANGE: Capytaine version
- name: Create environment.yml file
run: |
echo "name: test-env" >> environment.yml;
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
# - the content of pyproject.toml changes
# - you manually change the value of the CACHE_NUMBER below
# Else the existing cache is used.
- name: Setup Mambaforge
- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-variant: Miniforge3
miniforge-version: latest
activate-environment: test-env
use-mamba: true
Expand All @@ -45,8 +45,6 @@ jobs:
shell: bash

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

0 comments on commit c5751e6

Please sign in to comment.