👷 Add coverage with Smokeshow to CI and badge (#638)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
Esteban Maya
2024-03-07 23:03:15 +00:00
committed by GitHub
co-authored by Sebastián Ramírez
parent cfb42d1bef
commit 7e2e724c4a
4 changed files with 64 additions and 2 deletions
+3 -1
View File
@@ -3,4 +3,6 @@
set -e
set -x
pytest --cov=app --cov-report=term-missing app/tests "${@}"
coverage run --source=app -m pytest
coverage report --show-missing
coverage html --title "${@}"