Skip to content

feat: add totp utility routes #211

feat: add totp utility routes

feat: add totp utility routes #211

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: Set up Python 3.13
uses: actions/setup-python@v6.2.0
with:
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[test]"
- name: Lint with ruff
run: |
ruff check .
- name: Check generated aiograpi coverage docs
run: |
python scripts/generate_aiograpi_coverage.py --check
- name: Test with pytest
run: |
pytest --cov=. --cov-report=term-missing --cov-fail-under=100