Skip to content

Commit

Permalink
MAINT: Include mamba in env
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Feb 13, 2023
1 parent ae7ecf8 commit afac4dd
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/compat_minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
mamba-version: "*"
use-mamba: true
name: 'Setup conda'
- shell: bash -el {0}
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/compat_old.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
mamba-version: "*"
use-mamba: true
name: 'Setup conda'
- shell: bash -el {0}
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/linux_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
activate-environment: 'mne'
python-version: ${{ env.PYTHON_VERSION }}
environment-file: ${{ env.CONDA_ENV }}
# No mamba for this one job (use conda)
# mamba-version: "*"
# use-mamba: true
name: 'Setup conda'
- shell: bash -el {0}
run: |
Expand Down Expand Up @@ -89,6 +92,8 @@ jobs:
activate-environment: 'mne'
python-version: ${{ env.PYTHON_VERSION }}
environment-file: ${{ env.CONDA_ENV }}
mamba-version: "*"
use-mamba: true
name: 'Setup conda'
- shell: bash -el {0}
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
activate-environment: 'mne'
python-version: ${{ env.PYTHON_VERSION }}
environment-file: ${{ env.CONDA_ENV }}
mamba-version: "*"
use-mamba: true
name: 'Setup conda'
- shell: bash -el {0}
run: |
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ dependencies:
- eeglabio
- edflib-python
- pybv
- mamba
2 changes: 1 addition & 1 deletion tools/github_actions_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EXTRA_ARGS=""
if [ ! -z "$CONDA_ENV" ]; then
pip uninstall -yq mne
elif [ ! -z "$CONDA_DEPENDENCIES" ]; then
conda install -y $CONDA_DEPENDENCIES
mamba install -y $CONDA_DEPENDENCIES
else
# Changes here should also go in the interactive_test CircleCI job
python -m pip install $STD_ARGS pip setuptools wheel
Expand Down

0 comments on commit afac4dd

Please sign in to comment.