Skip to content

Base functionality, sphinx and PyPi config #19

Base functionality, sphinx and PyPi config

Base functionality, sphinx and PyPi config #19

Workflow file for this run

name: Lint with flake8 and test with PyTest
on: [pull_request]
jobs:
flake8-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install testing dependencies
run: |
pip install flake8 pep8-naming pytest pytest-cov
- name: Install package dependencies
run: |
pip install -e .
- name: Run flake8
run: |
flake8 EEGPhasePy
- name: Run PyTest
run: |
pytest --cov --cov-branch --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}