Add typing and async support for SSO #639
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: {} | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
name: Test Python ${{ matrix.python }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
cache: "pip" | |
cache-dependency-path: setup.py | |
- name: Install dependencies | |
run: | | |
pip install -e .[dev] | |
- name: Check formatting | |
run: black --check . | |
- name: Lint | |
run: | | |
flake8 . --extend-exclude .devbox --count --select=E9,F7,F82 --show-source --statistics | |
flake8 . --extend-exclude .devbox --count --exit-zero --max-complexity=10 --statistics | |
- name: Type Check | |
run: | | |
mypy | |
- name: Test | |
run: python -m pytest |