summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-30 19:05:19 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-30 19:05:19 +0100
commit81f33fc41bd13b0861769d07b02e2f11d70f05c9 (patch)
treead024d9cb9ae533f59b2b480b10496c080c841b4 /Makefile.example
parent2dae1b8fe9d6614d2746e9d2e85b79aac6956328 (diff)
downloadIshtar-81f33fc41bd13b0861769d07b02e2f11d70f05c9.tar.bz2
Ishtar-81f33fc41bd13b0861769d07b02e2f11d70f05c9.zip
Makefile: add coverage support
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.example b/Makefile.example
index 59f82d7af..d251155ed 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -47,6 +47,11 @@ update: clean syncdb compilemessages collectstatic
test: clean
cd $(project); $(PYTHON) manage.py test $(apps)
+coverage: clean
+ cd $(project); coverage run --source="ishtar_common,archaeological_operations,\
+ archaeological_context_records,archaeological_files,archaeological_finds,archaeological_warehouse,\
+ archaeological_files_pdl" ./manage.py test $(apps) && coverage report
+
test_gitlab: clean
# test migrations
cd $(project); $(PYTHON) ./manage.py syncdb --noinput