mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
chore: enhance API test coverage reporting and update dependencies
This commit is contained in:
parent
7b220e8883
commit
fa3a3be151
9 changed files with 48 additions and 46 deletions
9
.github/workflows/api-tests.yaml
vendored
9
.github/workflows/api-tests.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue