Skip to content

Feat 123 update nsb2023 #228

Feat 123 update nsb2023

Feat 123 update nsb2023 #228

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install -e .[dev]
- name: Run linters
run: black . && flake8 . && interrogate . && isort .
- name: Run tests and coverage
run: coverage run -m unittest discover && coverage report
- name: Auto generate rst source files for documentation
run: sphinx-apidoc -o doc_template/source src
- name: Auto generate documentation
run: sphinx-build -b html doc_template/source/ doc_template/build/html