Skip to content

fixes MNE warning

fixes MNE warning #238

# This workflow will install Python dependencies, run tests and lint with a single version of Python
name: Perform unit tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: poetry
cache-dependency-path: poetry.lock
- name: Set Poetry environment
run: poetry env use 3.11
- name: Install dependencies
run: poetry install --no-root
- name: Run pytest
run: poetry run pytest