fix: resolve all 28 mypy type errors + re-enable coverage in CI
CI / lint (push) Successful in 11s
CI / security (push) Successful in 7s
CI / test (push) Successful in 13s
CI / build (push) Successful in 1s

This commit is contained in:
2026-05-28 12:57:30 -04:00
parent 7096050da5
commit 1a14927f36
8 changed files with 29 additions and 27 deletions
+4 -8
View File
@@ -50,14 +50,10 @@ jobs:
pip install -r backend/requirements.txt
- name: Run tests
run: pytest tests/ --cov=backend --cov-report=xml --cov-report=term -q
- name: Upload coverage
if: false # Disabled — needs external GitHub actions (not available on self-hosted runner)
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml
run: pytest tests/ --cov=backend --cov-report=term -q
# Coverage report is printed in console (--cov-report=term).
# XML artifact upload (actions/upload-artifact@v4) not available
# on self-hosted Gitea runner without GitHub internet access.
# ── Security scan ─────────────────────────────────────────────────
security: