test(coverage): fail-under=50 Gate + XML-Report
Baseline liegt bei 55% (verifiziert auf 137). Gate mit 5%-Puffer, kein CI-Job dafür – Tests brauchen echtes Postgres+Redis mit RLS-Setup, läuft nur remote (SSH), nicht in Gitea Actions. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015Ahyx6D3r7G1EuAc42nezn
This commit is contained in:
@@ -14,6 +14,9 @@ env/
|
|||||||
|
|
||||||
# Alembic
|
# Alembic
|
||||||
backend/migrations/versions/*.pyc
|
backend/migrations/versions/*.pyc
|
||||||
|
backend/coverage.xml
|
||||||
|
backend/.coverage
|
||||||
|
backend/htmlcov/
|
||||||
|
|
||||||
# Environment / Secrets
|
# Environment / Secrets
|
||||||
.env
|
.env
|
||||||
|
|||||||
+1
-1
@@ -5,4 +5,4 @@ asyncio_default_test_loop_scope = session
|
|||||||
testpaths = tests
|
testpaths = tests
|
||||||
python_files = test_*.py
|
python_files = test_*.py
|
||||||
python_functions = test_*
|
python_functions = test_*
|
||||||
addopts = --cov=app --cov-report=term-missing
|
addopts = --cov=app --cov-report=term-missing --cov-report=xml:coverage.xml --cov-fail-under=50
|
||||||
|
|||||||
Reference in New Issue
Block a user