summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
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