Skip to content

Commit

Permalink
Use setup micromamba
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-2001 committed Apr 11, 2024
1 parent 168b3ba commit 4502cd7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 21 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,13 @@ jobs:
tar -zxf /tmp/atomic.tar.gz -C /tmp
if: steps.cmfgen-cache.outputs.cache-hit != 'true'

- name: Setup carsus environment
uses: conda-incubator/setup-miniconda@v2
- uses: mamba-org/setup-micromamba@v1
with:
miniforge-variant: Mambaforge
miniforge-version: latest
environment-file: carsus/carsus_env3.yml
activate-environment: carsus
use-mamba: true
environment-file: conda-lock.yml
init-shell: bash
cache-environment: true
cache-downloads: true
environment-name: carsus

- name: Install package
run: pip install -e carsus/
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/carsus-data-repos-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,13 @@ jobs:
fi
done
- name: Setup carsus environment
uses: conda-incubator/setup-miniconda@v2
- uses: mamba-org/setup-micromamba@v1
with:
miniforge-variant: Mambaforge
miniforge-version: latest
environment-file: carsus/carsus_env3.yml
activate-environment: carsus
use-mamba: true
environment-file: conda-lock.yml
init-shell: bash
cache-environment: true
cache-downloads: true
environment-name: carsus

- name: Install package
run: pip install -e carsus/
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,13 @@ jobs:
tar -zxf /tmp/atomic.tar.gz -C /tmp
if: steps.cmfgen-cache.outputs.cache-hit != 'true'

- name: Setup environment
uses: conda-incubator/setup-miniconda@v2
- uses: mamba-org/setup-micromamba@v1
with:
miniforge-variant: Mambaforge
miniforge-version: latest
environment-file: carsus_env3.yml
activate-environment: carsus
use-mamba: true
environment-file: conda-lock.yml
init-shell: bash
cache-environment: true
cache-downloads: true
environment-name: carsus

- name: Install package
shell: bash -l {0}
Expand Down

0 comments on commit 4502cd7

Please sign in to comment.