mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-12 16:22:17 -05:00
don't count log lines as code
This commit is contained in:
4
Makefile
4
Makefile
@@ -104,8 +104,8 @@ test: ## Run tests and create coverage report
|
|||||||
poetry run isort ./app ./tests
|
poetry run isort ./app ./tests
|
||||||
poetry run coverage run --omit=*/migrations/*,*/tests/* -m pytest --maxfail=10
|
poetry run coverage run --omit=*/migrations/*,*/tests/* -m pytest --maxfail=10
|
||||||
|
|
||||||
## TODO set this back to 95 asap
|
|
||||||
poetry run coverage report -m --fail-under=94
|
poetry run coverage report -m --fail-under=95
|
||||||
poetry run coverage html -d .coverage_cache
|
poetry run coverage html -d .coverage_cache
|
||||||
|
|
||||||
.PHONY: test-debug
|
.PHONY: test-debug
|
||||||
|
|||||||
Reference in New Issue
Block a user