diff --git a/.gitignore b/.gitignore index bf9eeb1..6874917 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,9 @@ env/ # Alembic backend/migrations/versions/*.pyc +backend/coverage.xml +backend/.coverage +backend/htmlcov/ # Environment / Secrets .env diff --git a/backend/pytest.ini b/backend/pytest.ini index eae13df..6fccbf6 100644 --- a/backend/pytest.ini +++ b/backend/pytest.ini @@ -5,4 +5,4 @@ asyncio_default_test_loop_scope = session testpaths = tests python_files = test_*.py 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