Merge pull request #404 from GSA/notify-api-391

notify-api-391 increase code coverage to 95%
This commit is contained in:
Carlo Costino
2023-08-16 16:40:33 -04:00
committed by GitHub
36 changed files with 615 additions and 224 deletions

View File

@@ -75,8 +75,8 @@ test: export NEW_RELIC_ENVIRONMENT=test
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=88
pipenv run coverage run -m pytest -vv --maxfail=10
pipenv run coverage report -m --fail-under=95
pipenv run coverage html -d .coverage_cache
.PHONY: freeze-requirements