Skip to content

Fix mypy typing in SRK-VanLaar helpers #1325

Fix mypy typing in SRK-VanLaar helpers

Fix mypy typing in SRK-VanLaar helpers #1325

Workflow file for this run

name: FastAPI backend with SQLite
permissions: {}
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: backend
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: astral-sh/setup-uv@v5
- name: Install backend
run: uv sync
- name: Run ruff
run: |
uv run ruff format --check
uv run ruff check
- name: Run mypy
run: uv run mypy --strict src
- name: Run pytest
run: |
cp .env.example .env
uv run pytest tests