From fdcc881f8106996e20fdc889c6055448bd3fa572 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 25 Apr 2020 15:40:59 +0100 Subject: [PATCH] Use `set -x` rather than echoing progress --- scripts/test.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index 4378ade..0d8f351 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -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