From 16864b71189c11ddd789ea7fb6ea92d6a376ba6b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 15 Jan 2017 18:16:21 +0000 Subject: [PATCH] Update test script --- scripts/test | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/scripts/test b/scripts/test index 55d1620..0217206 100755 --- a/scripts/test +++ b/scripts/test @@ -7,24 +7,30 @@ FLAKE8_IGNORE=--ignore=E128,E501,E401,E402 set -e +echo "> Running tests" + nose2 +echo ">> Testing client-side" eslint 'theme/static/src/js/' - sass-lint -vqc .sass-lint.yml +echo ">> Running flake8" flake8 plugins/ $FLAKE8_IGNORE -flake8 scripts/ $FLAKE8_IGNORE flake8 config/ $FLAKE8_IGNORE flake8 tests/ $FLAKE8_IGNORE +flake8 pelicanconf.py $FLAKE8_IGNORE +echo ">> Checking config" yamllint config/social.yml +echo ">> Running spellcheck" mdspell --en-gb -ranx theme/templates/**/*.* theme/templates/*.* mdspell --en-gb -ranx content/**/*.md content/*.md content/**/*.html content/*.html +echo ">> Running security check" nsp check - safety check - bandit -r plugins/ config/ tests/ + +echo "> Tests complete!"