treeherder/runtests.sh

12 строки
303 B
Bash
Executable File

#!/bin/sh
echo "Running flake8"
flake8 || { echo "flake8 errors found!"; exit 1; }
echo "Running isort"
isort --check-only --diff --quiet \
|| { echo "isort errors found! Run 'isort' with no options to fix."; exit 1; }
echo "Running Python tests"
py.test tests/$* --cov-report html --cov treeherder