Skip to content

Reformat with black. #16

Reformat with black.

Reformat with black. #16

name: Build
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13-dev']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest coverage codecov
python -m pip install .
- name: Test with pytest
run: |
coverage run -m pytest
codecov
- name: Extra checks
if: matrix.python-version == '3.12'
run: |
python -m pip install flake8 check-manifest sphinx
check-manifest
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --statistics
pushd doc && make html && popd