Skip to content

FEAT: Initial commit #2

FEAT: Initial commit

FEAT: Initial commit #2

Workflow file for this run

name: Python CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10, 3.11, 3.12]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -e .[develop]
- name: Run tests with pytest
run: pytest
- name: Run type checks with mypy
run: mypy sphinxcontrib
- name: Run style checks
run: |
isort --check-only --diff sphinxcontrib tests
yapf --diff sphinxcontrib tests
flake8 sphinxcontrib tests