diff options
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/run_tests.sh b/run_tests.sh index c8316fb..dde540f 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -12,9 +12,30 @@ if [ "${1:-auto}" != "0" ]; then fi # Running pylint +echo "" +echo "------------------------------" +echo " PYLINT TESTS " +echo "------------------------------" +echo "" find diplomacy -name "*.py" ! -name 'zzz_*.py' ! -name '_*.py' -exec pylint '{}' + || FAILED=1 +# Running sphinx +echo "" +echo "------------------------------" +echo " SPHINX TESTS " +echo "------------------------------" +echo "" +cd $DIR/docs +make clean || FAILED=1 +make html || FAILED=1 +cd - + # Running eslint +echo "" +echo "------------------------------" +echo " ESLINT TESTS " +echo "------------------------------" +echo "" if [ -f "$DIR/diplomacy/web/node_modules/.bin/eslint" ]; then if [ -z ${NVM_DIR+x} ]; then export NVM_DIR="$HOME/.nvm" |