Skip to content

Commit

Permalink
setup-miniconda: Use Mambaforge
Browse files Browse the repository at this point in the history
The option to use mamba-version in this action is still marked as
experimental and has shown to be problematic with transient failures.

An alternative is to use Mambaforge, which is a Miniforge variant that
comes with Mamba in the base environment. It uses the conda-forge
channel as the only default channel¹.

¹ https://github.com/conda-forge/miniforge/blob/871e98647a95b99a769dd9f40669d06c44514bca/README.md
  • Loading branch information
victorlin committed Jan 13, 2023
1 parent 2e2f857 commit 5239f4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-integration-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ runs:
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ inputs.python-version }}
mamba-version: "*"
channels: conda-forge,bioconda
miniforge-variant: Mambaforge
channels: bioconda

- run: cat ~/.profile || true
shell: bash -l -eo pipefail {0}
Expand Down

0 comments on commit 5239f4b

Please sign in to comment.