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
Jake Howard c05efa783b
Add multiple workers and threads
Also move gunicorn config into file
2020-05-03 17:28:02 +01:00

23 lines
336 B
Bash
Executable file

#!/usr/bin/env bash
export PATH=env/bin:node_modules/.bin:${PATH}
set -ex
coverage run --source=website manage.py test $@
coverage report
coverage html
black website/ --check
flake8 website/
isort -rc -c website/
mypy website/
eslint static/src/js
gunicorn --check-config -c website/gunicorn.conf.py website.wsgi:application