From 68389677fd24db4e5fb6bce5565ea3445c2a5f7c Mon Sep 17 00:00:00 2001 From: MarkKoz Date: Fri, 20 Sep 2019 20:25:43 -0700 Subject: Run tests with coverage in pipenv script --- Pipfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Pipfile') diff --git a/Pipfile b/Pipfile index 897d1b08..6da62a2b 100644 --- a/Pipfile +++ b/Pipfile @@ -40,6 +40,7 @@ python_version = "3.7" [scripts] makemigrations = "python manage.py makemigrations" django_shell = "python manage.py shell" -test = "python manage.py test" -lint = "flake8 pydis_site" +test = "coverage run manage.py test" +report = "coverage report -m" +lint = "flake8" precommit = "pre-commit install" -- cgit v1.2.3