name: CI on: push: branches: [main] pull_request: workflow_dispatch: jobs: checks: runs-on: docker steps: - name: Install Python and tools run: | apk add --no-cache python3 py3-pip git - name: Checkout run: | git init -q git remote add origin "${GITHUB_SERVER_URL:-http://10.8.0.52:8080}/$GITHUB_REPOSITORY.git" git fetch -q --depth 1 origin "$GITHUB_SHA" git checkout -q FETCH_HEAD - name: Install dependencies run: | python3 -m pip install --upgrade pip python3 -m pip install --break-system-packages -e ".[dev]" - name: Lint (ruff) run: python3 -m ruff check src tests - name: Typecheck (mypy) run: python3 -m mypy src - name: Tests (pytest + coverage) run: python3 -m pytest -v --cov=selectel_ml_tui --cov-report=term-missing