👷 Switch from Codecov to Smokeshow plus pytest-cov to pure coverage for internal tests (#5583)

This commit is contained in:
Sebastián Ramírez authored and GitHub committed 2022-11-03 21:00:29 +01:00
1 parent cf730518bc
commit be3e29fb3c
5 files changed
+88 -5

No files matched your search

+4 -1
View File
@@ -3,4 +3,7 @@
set -e
set -x
bash scripts/test.sh --cov-report=html ${@}
bash scripts/test.sh ${@}
coverage combine
coverage report --show-missing
coverage html
+1 -1
View File
@@ -6,4 +6,4 @@ set -x
# Check README.md is up to date
python ./scripts/docs.py verify-readme
export PYTHONPATH=./docs_src
pytest --cov=fastapi --cov=tests --cov=docs_src --cov-report=term-missing:skip-covered --cov-report=xml tests ${@}
coverage run -m pytest tests ${@}