Skip to content

Commit

Permalink
Try fixing mamba in CI, pt 6, back to previous test
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Mar 27, 2024
1 parent b7b9ba8 commit d0f7188
Showing 1 changed file with 6 additions and 24 deletions.
30 changes: 6 additions & 24 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,22 +122,15 @@ jobs:
uses: actions/checkout@v4

- name: Setup Conda
uses: conda-incubator/setup-miniconda@v3.0.3
uses: conda-incubator/setup-miniconda@v2.2.0
with:
# We need mamba here already, otherwise we run into
# https://github.com/conda-incubator/setup-miniconda/issues/262
# 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
# 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
miniforge-variant: Mambaforge
environment-file: envs/grenepipe.yaml
activate-environment: grenepipe

Expand All @@ -153,9 +146,6 @@ jobs:
# Run the test case.
- name: Run Test
run: |
conda info
mamba info
if [[ "${{ matrix.installer }}" == "conda" ]]; then
export GRENEPIPE_TESTS_NO_MAMBA=1
fi
Expand Down Expand Up @@ -218,15 +208,11 @@ jobs:
uses: actions/checkout@v4

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

Expand Down Expand Up @@ -286,15 +272,11 @@ jobs:
uses: actions/checkout@v4

- name: Setup Conda
uses: conda-incubator/setup-miniconda@v3.0.3
uses: conda-incubator/setup-miniconda@v2.2.0
with:
# 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
use-mamba: true
channels: conda-forge
miniforge-variant: Mambaforge
environment-file: envs/grenepipe.yaml
activate-environment: grenepipe

Expand Down

0 comments on commit d0f7188

Please sign in to comment.