From 9b1c5a6ab6b332bba29f4d29b57696b64f33c24a Mon Sep 17 00:00:00 2001
From: Paul J Stevens
Date: Sat, 17 Mar 2018 11:37:11 +0100
Subject: [PATCH] fixes test runs
added dependency link to Makefile until Michael releases new
wagtail-factories
---
Makefile | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 2266bea..ca75ba5 100644
--- a/Makefile
+++ b/Makefile
@@ -16,13 +16,17 @@ install: develop
develop: clean requirements
-test:
+
+src/wagtail-factories:
+ pip install -e git+https://github.com/mvantellingen/wagtail-factories.git@master#egg=wagtail_factories-0.3.0
+
+test: src/wagtail-factories
py.test --nomigrations --reuse-db tests/
-retest:
+retest: src/wagtail-factories
py.test --nomigrations --reuse-db tests/ -vvv
-coverage:
+coverage: src/wagtail-factories
py.test --nomigrations --reuse-db tests/ --cov=wagtail_personalisation --cov-report=term-missing --cov-report=html
docs: