Skip to content

Commit

Permalink
Fixing issue with tests always passing (#8)
Browse files Browse the repository at this point in the history
* test

* test

* fixing test

* fail tests if they fail

* checking passed tests now

* checking passed tests now

* adding failed tests

* fixing tests again
  • Loading branch information
RyanNoelk committed Mar 27, 2018
1 parent 9db3fc8 commit edcb28d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ python manage.py migrate

# Run the tests and create a coverage report
coverage run --omit="*/migrations*,*/fixtures*" manage.py test -k
ret=$?
if [ $ret -ne 0 ]; then
exit 1
fi

# Submit coverage to Coveralls
coveralls

0 comments on commit edcb28d

Please sign in to comment.