1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
website-2020-spike/scripts/test.sh

26 lines
400 B
Bash
Executable file

#!/usr/bin/env bash
set -e
export PATH=env/bin:node_modules/.bin:${PATH}
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