test(report): added tests run with juint report

This commit is contained in:
ITQ
2026-02-23 23:30:35 +03:00
parent c8a0de360f
commit 89e118c2f6
4 changed files with 88 additions and 0 deletions
+10
View File
@@ -66,6 +66,16 @@ test-coverage:
show-coverage:
@ uv run coverage report
# run tests, produce junit report
[group('ci')]
ci-test:
@ mkdir -p reports .cov
@ uv run coverage run --source="." manage.py test \
--testrunner=xmlrunner.extra.djangotestrunner.XMLTestRunner \
--settings="config.settings.ci"
@ uv run coverage report | tee .cov/coverage.txt
@ uv run coverage xml -o .cov/coverage.xml
# generates migrations
[group('generate')]
make-migrations: