aboutsummaryrefslogtreecommitdiffstats
path: root/Pipfile
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-09-20 20:25:43 -0700
committerGravatar MarkKoz <[email protected]>2019-09-20 20:30:05 -0700
commit68389677fd24db4e5fb6bce5565ea3445c2a5f7c (patch)
treef39b3d538b2e314aa1cafa3c5ce1ed99b663721b /Pipfile
parentCI: omit migrations from coverage (diff)
Run tests with coverage in pipenv script
Diffstat (limited to 'Pipfile')
-rw-r--r--Pipfile5
1 files changed, 3 insertions, 2 deletions
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"