Skip to content

Commit

Permalink
Try fixing mamba in CI, pt 4
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Mar 27, 2024
1 parent bc974ea commit 4511132
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,18 @@ jobs:
with:
# We need mamba here already, otherwise we run into
# https://github.com/conda-incubator/setup-miniconda/issues/262
mamba-version: "*"
channels: conda-forge
# mamba-version: "*"
# channels: conda-forge
# We need to replace the above, at least for now, due to instabilities in the action,
# see https://github.com/conda-incubator/setup-miniconda/issues/274#issue-1531425010
# If that changes again in the future, also change it below in the other jobs.
# miniforge-variant: Mambaforge
# miniforge-version: latest
miniforge-version: latest
# New workaround suggestion:
# https://github.com/conda-incubator/setup-miniconda/issues/292#issuecomment-1767669652
# Why is this stuff so broken all the time?
use-mamba: true
channels: conda-forge
environment-file: envs/grenepipe.yaml
activate-environment: grenepipe

Expand Down Expand Up @@ -212,11 +217,13 @@ jobs:
- name: Setup Conda
uses: conda-incubator/setup-miniconda@v3.0.3
with:
mamba-version: "*"
channels: conda-forge
# mamba-version: "*"
# channels: conda-forge
# Need to use a different setup to get mamba to work, see above.
# miniforge-variant: Mambaforge
# miniforge-version: latest
miniforge-version: latest
use-mamba: true
channels: conda-forge
environment-file: envs/grenepipe.yaml
activate-environment: grenepipe

Expand Down Expand Up @@ -278,11 +285,13 @@ jobs:
- name: Setup Conda
uses: conda-incubator/setup-miniconda@v3.0.3
with:
mamba-version: "*"
channels: conda-forge
# mamba-version: "*"
# channels: conda-forge
# Need to use a different setup now to get mamba to work, see above.
# miniforge-variant: Mambaforge
# miniforge-version: latest
miniforge-version: latest
use-mamba: true
channels: conda-forge
environment-file: envs/grenepipe.yaml
activate-environment: grenepipe

Expand Down

0 comments on commit 4511132

Please sign in to comment.