Skip to content

refactor: OCR on ONNX Runtime, WebUI on FastAPI, desktop shell on Tauri 2 #1

refactor: OCR on ONNX Runtime, WebUI on FastAPI, desktop shell on Tauri 2

refactor: OCR on ONNX Runtime, WebUI on FastAPI, desktop shell on Tauri 2 #1

Workflow file for this run

name: CI
on:
push:
branches: [master, "refactor/*"]
pull_request:
jobs:
test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Set up Python 3.13
run: uv python install 3.13
# Non-frozen sync: uv.lock does not yet pin pytest (the dev group was
# added on an offline machine). Run `uv add --dev pytest` once on a
# networked machine, commit the lockfile, then switch to --frozen.
- name: Sync dependencies
run: uv sync --group dev
# The lint/type gates are scoped to the directories that are currently
# clean; widen them as the legacy codebase goes green (module/config
# and friends still carry pre-existing findings).
- name: Lint (scoped)
run: uv run ruff check alas.py module/logger.py module/scheduler module/tasks module/core module/base module/device module/map_detection tests dev_tools/verify_alas_structure.py
- name: Type check (scoped)
run: uv run pyright module/logger.py module/scheduler module/tasks module/core tests
- name: Import smoke (full tree)
run: uv run python dev_tools/smoke_import_all.py
- name: Structure verification
run: |
uv run python dev_tools/verify_alas_structure.py
uv run python dev_tools/verify_task_registry.py
uv run python dev_tools/verify_task_record.py
- name: Tests
run: uv run pytest tests -v