ci: re-enable coverage artifact upload via native Gitea runner (v3)
CI / lint (push) Successful in 13s
CI / security (push) Successful in 8s
CI / test (push) Successful in 28s
CI / build (push) Successful in 2s

This commit is contained in:
2026-05-28 13:06:21 -04:00
parent 1a14927f36
commit 7965139230
+8 -4
View File
@@ -50,10 +50,14 @@ jobs:
pip install -r backend/requirements.txt
- name: Run tests
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.
run: pytest tests/ --cov=backend --cov-report=xml --cov-report=term -q
- name: Upload coverage artifact
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: coverage.xml
retention-days: 30
# ── Security scan ─────────────────────────────────────────────────
security: