Fix test script : make it fail when tests fail

This commit is contained in:
Gabriel Augendre 2020-11-26 12:38:47 +01:00
parent 00ec56fef6
commit e2f924b262
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -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