Skip to content

[ENH] Add a bad channel detection method using LOF algorithm #257

[ENH] Add a bad channel detection method using LOF algorithm

[ENH] Add a bad channel detection method using LOF algorithm #257

Workflow file for this run

name: unit-tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install meegkit and dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e ".[tests]"
- name: Lint with flake8
run: |
make pep
- name: Test with pytest
run: |
pytest --cov=./ --cov-report=xml tests/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: false # optional (default = false)