Skip to content

Add type annotations to part of the public API #414

Add type annotations to part of the public API

Add type annotations to part of the public API #414

Workflow file for this run

name: pr
on: pull_request
jobs:
tests:
name: python-${{ matrix.python-version }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
os: ["macOS-latest", "ubuntu-latest", "windows-latest"]
steps:
- uses: actions/checkout@v2
- name: setup-python-${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: install-requirements
run: |
python -m pip install --upgrade pip tox tox-gh-actions
python -m pip install -e .
- name: run-tests
run: tox
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup-python-3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: install-requirements
run: |
python -m pip install --upgrade pip tox tox-gh-actions
python -m pip install -e .
- name: lint
run: tox -e lint
docs:
name: docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup-python-3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: install-requirements
run: |
python -m pip install --upgrade pip tox tox-gh-actions
python -m pip install -e .
- name: docs
run: tox -e docs
- uses: actions/upload-artifact@v3
with:
name: html_docs
path: build/html