1
Fork 0

Use set -x rather than echoing progress

This commit is contained in:
Jake Howard 2020-04-25 15:40:59 +01:00
parent 48cfaf8025
commit fdcc881f81
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,26 +1,21 @@
#!/usr/bin/env bash
set -e
export PATH=env/bin:node_modules/.bin:${PATH}
set -ex
coverage run --source=website manage.py test $@
coverage report
coverage html
echo "> Running formatter..."
black website/ --check
echo "> Running linter..."
flake8 website/
echo "> Running isort..."
isort -rc -c website/
echo "> Running type checker..."
mypy website/
echo "> Running eslint..."
eslint static/src/js