Skip to content

Commit

Permalink
TST: Try again [skip azp] [skip cirrus] [skip circle]
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jul 20, 2023
1 parent 1b3e8d3 commit f4a2951
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -e {0}
shell: bash -el {0}
env:
PYTHON_VERSION: '${{ matrix.python }}'
MKL_NUM_THREADS: '1'
Expand Down Expand Up @@ -83,14 +83,11 @@ jobs:
python-version: ${{ matrix.python }}
if: startswith(matrix.kind, 'pip')
# Python (if conda)
- uses: conda-incubator/setup-miniconda@v2
- uses: mamba-org/setup-micromamba@v2
with:
activate-environment: ${{ env.CONDA_ACTIVATE_ENV }}
python-version: ${{ env.PYTHON_VERSION }}
create-args: >-
python=${{ env.PYTHON_VERSION }}
environment-file: ${{ env.CONDA_ENV }}
miniforge-version: latest
miniforge-variant: Mambaforge
use-mamba: ${{ matrix.kind != 'conda' }}
if: ${{ !startswith(matrix.kind, 'pip') }}
- name: 'Install OSMesa VTK variant'
run: |
Expand Down
2 changes: 1 addition & 1 deletion tools/github_actions_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ STD_ARGS="--progress-bar off --upgrade"
EXTRA_ARGS=""
if [ ! -z "$CONDA_ENV" ]; then
echo "Uninstalling MNE for CONDA_ENV=${CONDA_ENV}"
conda remove -c conda-forge --force -yq mne
mamba remove -c conda-forge --force -yq mne
elif [ ! -z "$CONDA_DEPENDENCIES" ]; then
echo "Using Mamba to install CONDA_DEPENDENCIES=${CONDA_DEPENDENCIES}"
mamba install -y $CONDA_DEPENDENCIES
Expand Down

0 comments on commit f4a2951

Please sign in to comment.