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

22 lines
258 B
Bash
Raw Normal View History

2020-04-12 14:41:27 +01:00
#!/usr/bin/env bash
2020-04-25 15:40:08 +01:00
export PATH=env/bin:node_modules/.bin:${PATH}
2020-04-12 14:41:27 +01:00
set -ex
2020-04-13 10:50:59 +01:00
coverage run --source=website manage.py test $@
coverage report
coverage html
2020-04-12 15:46:37 +01:00
2020-04-12 14:41:27 +01:00
black website/ --check
flake8 website/
isort -rc -c website/
mypy website/
2020-04-25 15:40:08 +01:00
eslint static/src/js