Fix test script : make it fail when tests fail
This commit is contained in:
parent
00ec56fef6
commit
e2f924b262
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
set -euxo pipefail
|
||||||
TESTING=true python -m pytest
|
TESTING=true python -m pytest
|
||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
TESTING=true python manage.py makemigrations --check
|
TESTING=true python manage.py makemigrations --check
|
||||||
|
|
Reference in a new issue