👷 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 18:03:15 -05:00
committed by GitHub
parent cfb42d1bef
commit 7e2e724c4a
4 changed files with 64 additions and 2 deletions

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 "${@}"