fix: resolve all 28 mypy type errors + re-enable coverage in CI
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user