From 0bdb5fc0457faa63e53d8b423e20ce7dc8709c11 Mon Sep 17 00:00:00 2001 From: higs4281 Date: Thu, 27 Oct 2016 21:36:12 -0400 Subject: [PATCH] set pytest to exit on error --- pytest.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pytest.sh b/pytest.sh index 957cda2..5f198a5 100755 --- a/pytest.sh +++ b/pytest.sh @@ -1,5 +1,6 @@ #! /bin/bash # run python unittests +set -e coverage run manage.py test > /dev/null coverage report -m