mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 15:22:24 -05:00
notify-admin-638 fail if code coverage below current level of 88%
This commit is contained in:
2
Makefile
2
Makefile
@@ -61,7 +61,7 @@ test: ## Run tests and create coverage report
|
||||
pipenv run flake8 .
|
||||
pipenv run isort --check-only ./app ./tests
|
||||
pipenv run coverage run --omit=*/notifications_utils/* -m pytest --maxfail=10
|
||||
pipenv run coverage report --fail-under=50
|
||||
pipenv run coverage report --fail-under=88
|
||||
pipenv run coverage html -d .coverage_cache
|
||||
|
||||
.PHONY: freeze-requirements
|
||||
|
||||
Reference in New Issue
Block a user