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.
actioner/scripts/test.sh

19 lines
351 B
Bash
Raw Normal View History

2019-02-14 13:35:39 +00:00
#!/usr/bin/env bash
set -e
2019-02-16 21:17:52 +00:00
echo "> Running tests..."
nose2 $@ -C --coverage actioner --verbose --coverage-report term --coverage-report html
2019-02-22 22:36:17 +00:00
echo "> Running formatter..."
black actioner/ tests/ --check
2019-02-14 13:35:39 +00:00
echo "> Running isort"
2019-02-16 21:17:52 +00:00
isort -rc -c actioner/ tests/
2019-02-14 13:35:39 +00:00
echo "> Running mypy"
2019-02-16 21:17:52 +00:00
mypy actioner/ tests/
2019-02-14 13:35:39 +00:00
echo "> Running flake8"
2019-02-16 21:17:52 +00:00
flake8 actioner tests