[MAINT] Retry improve clarity, thumbnails, and fix mistakes in multivariate examples #485
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'linux / conda' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
# Linux | |
job: | |
timeout-minutes: 90 | |
name: 'py3.9' | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
shell: bash -el {0} | |
env: | |
CONDA_ENV: 'environment.yml' | |
DISPLAY: ':99.0' | |
MNE_LOGGING_LEVEL: 'warning' | |
MKL_NUM_THREADS: '1' | |
PYTHONUNBUFFERED: '1' | |
PYTHON_VERSION: '3.9' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pyvista/setup-headless-display-action@main | |
with: | |
qt: true | |
pyvista: false | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: ${{ env.CONDA_ENV }} | |
create-args: >- # beware the >- instead of |, we don't split on newlines but on spaces | |
python=${{ env.PYTHON_VERSION }} | |
- run: | | |
curl https://raw.githubusercontent.com/mne-tools/mne-python/main/tools/get_minimal_commands.sh -o get_minimal_commands.sh | |
chmod +x get_minimal_commands.sh | |
source ./get_minimal_commands.sh | |
pip install .[test] | |
name: 'Install dependencies' | |
- run: pip install git+https://github.com/mne-tools/mne-python@main | |
- run: pip install -e . | |
- run: | | |
which mne | |
mne sys_info -pd | |
python -c "import numpy; numpy.show_config()" | |
name: 'Show infos' | |
- name: Run pytest | |
run: python -m pytest . --cov=mne_connectivity --cov-report=xml --cov-config=pyproject.toml --verbose --ignore mne-python | |
- uses: codecov/codecov-action@v4 |