Skip to content

[GSOC] Add surrogate data generation for significant connectivity estimation #989

[GSOC] Add surrogate data generation for significant connectivity estimation

[GSOC] Add surrogate data generation for significant connectivity estimation #989

Workflow file for this run

name: "unit_tests"
concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.type }}
cancel-in-progress: true
on:
push:
branches:
- "main"
pull_request:
branches:
- "*"
jobs:
# Run unit tests
test:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -e {0}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python-version: "3.9"
mne-version: mne-main
- os: ubuntu-latest
python-version: "3.12"
mne-version: mne-main
- os: macos-13 # Intel
python-version: "3.12"
mne-version: mne-main
- os: macos-14 # arm64
python-version: "3.12"
mne-version: mne-main
- os: windows-latest
python-version: "3.12"
mne-version: mne-main
env:
TZ: Europe/Berlin
FORCE_COLOR: true
DISPLAY: ":99.0"
MNE_LOGGING_LEVEL: "info"
OPENBLAS_NUM_THREADS: "1"
PYTHONUNBUFFERED: "1"
steps:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v4
- uses: pyvista/setup-headless-display-action@main
with:
qt: true
pyvista: false
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install --upgrade --upgrade-strategy eager .[test]
- if: matrix.mne-version == 'mne-stable'
run: pip install --upgrade mne
- name: Install MNE (main)
if: matrix.mne-version == 'mne-main'
run: pip install git+https://github.com/mne-tools/mne-python@main
- run: python -c "import mne; print(mne.datasets.testing.data_path(verbose=True))"
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
- name: Display versions and environment information
run: |
echo $TZ
date
python --version
which python
- run: pip install -e .
- run: mne sys_info
- run: python -m pytest . --cov=mne_connectivity --cov-report=xml --cov-config=pyproject.toml --verbose --ignore mne-python
- uses: codecov/codecov-action@v4