chore: enhance API test coverage reporting and update dependencies

This commit is contained in:
swve 2025-07-27 20:12:23 +02:00
parent 7b220e8883
commit fa3a3be151
9 changed files with 48 additions and 46 deletions

View file

@ -42,6 +42,13 @@ jobs:
- name: Run security tests with coverage
run: |
cd apps/api
uv run pytest src/tests/security/ --cov=src.security --cov-report=xml --cov-report=term-missing
uv run pytest src/tests/security/ --cov=src.security --cov-report=html --cov-report=term-missing
env:
TESTING: "true"
- name: Upload coverage report to GitHub
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: apps/api/htmlcov/
retention-days: 30