Add CI workflow for Gitea Actions

This commit is contained in:
2026-09-03 11:17:35 +03:00
parent e3936d75c3
commit c2fafac157
+33
View File
@@ -0,0 +1,33 @@
name: CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
checks:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
- name: Lint (ruff)
run: ruff check src tests
- name: Typecheck (mypy)
run: mypy src
- name: Tests (pytest + coverage)
run: python -m pytest -v --cov=selectel_ml_tui --cov-report=term-missing