ci: re-enable coverage artifact upload via native Gitea runner (v3)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user