Skip to content

Commit

Permalink
Update conda setup in CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 committed Mar 1, 2024
1 parent 8b68178 commit 81eb6a1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,17 @@ jobs:
sudo apt-get update
sudo apt-get install zsh tcsh
cat /etc/shells
- name: set up conda environment
id: conda
uses: mamba-org/setup-micromamba@v1
- uses: conda-incubator/setup-miniconda@master
with:
channels: conda-forge
channel-priority: strict
activate-environment: jupyter-forward-dev
auto-update-conda: false
python-version: ${{ matrix.python-version }}
mamba-version: "*"
use-mamba: true
miniforge-variant: Mambaforge
environment-file: ci/environment.yml
init-shell: >-
bash
cache-environment: true
cache-downloads: true
post-cleanup: "all"
create-args: |
python=${{ matrix.python-version }}

- name: Install jupyter-forward
run: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ jobs:
sudo apt-get update
sudo apt-get install zsh tcsh
cat /etc/shells
- name: set up conda environment
- uses: conda-incubator/setup-miniconda@v3
id: conda
uses: mamba-org/setup-micromamba@v1
with:
channels: conda-forge,nodefaults
channel-priority: strict
activate-environment: jupyter-forward-dev
auto-update-conda: false
python-version: ${{ matrix.python-version }}
environment-file: ci/environment-upstream-dev.yml
init-shell: >-
bash
cache-environment: true
cache-downloads: true
post-cleanup: "all"
create-args: |
python=${{ matrix.python-version }}
mamba-version: "*"
use-mamba: true
miniforge-variant: Mambaforge

- name: Install jupyter-forward
id: install
Expand Down

0 comments on commit 81eb6a1

Please sign in to comment.