added coverage

added pytest reporting
updated Github Action CI/CD to write coverage output to docs
updated GA CI/CD to generate test and coverage badges
This commit is contained in:
smilerz
2023-12-27 19:22:11 -06:00
parent b78597fa52
commit 9344bf80da
4 changed files with 15 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
[pytest]
DJANGO_SETTINGS_MODULE = recipes.settings
python_files = tests.py test_*.py *_tests.py
# addopts = --cov=. --cov-report=html:docs/coverage --cov-report=xml:docs/coverage/coverage.xml --junitxml=docs/tests/pytest.xml --html=docs/tests/tests.html