From c5751e60201c57e427238c4b83cc0a1aad60c04d Mon Sep 17 00:00:00 2001 From: jtgrasb <87095491+jtgrasb@users.noreply.github.com> Date: Tue, 28 Jan 2025 11:58:26 -0700 Subject: [PATCH] Use Miniforge distribution in CI (#392) (#393) * 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 --- .github/workflows/pr.yml | 6 ++---- .github/workflows/push.yml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 14827dde..682b65f3 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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 @@ -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; diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 0f4edd37..e6b94253 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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 @@ -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;