[GSOC] Add EpochsTFR
support to spectral connectivity functions
#697
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.10' | |
runs-on: ubuntu-20.04 | |
defaults: | |
run: | |
shell: bash -el {0} | |
env: | |
MNE_LOGGING_LEVEL: 'warning' | |
MKL_NUM_THREADS: '1' | |
PYTHONUNBUFFERED: '1' | |
PYTHON_VERSION: '3.10' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pyvista/setup-headless-display-action@main | |
with: | |
qt: true | |
pyvista: false | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
# https://github.com/mamba-org/setup-micromamba/issues/225 | |
micromamba-version: 1.5.10-0 | |
environment-file: environment.yml | |
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 |