Skip to content

Clean up docstrings so the Sphinx build is warning-free (#666) #77

Clean up docstrings so the Sphinx build is warning-free (#666)

Clean up docstrings so the Sphinx build is warning-free (#666) #77

Workflow file for this run

name: tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
env:
MPLBACKEND: Agg
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov flake8
- name: Lint with flake8
run: flake8 .
continue-on-error: true
- name: Run tests
run: pytest --cov=./