From: Sebastián Ramírez Date: Tue, 4 Feb 2020 04:41:42 +0000 (+0100) Subject: :white_check_mark: Lint first in tests, to error out faster (#948) X-Git-Tag: 0.48.0~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=957313063076e345771eb24e98cbdc9fc2f1f641;p=thirdparty%2Ffastapi%2Ffastapi.git :white_check_mark: Lint first in tests, to error out faster (#948) --- diff --git a/scripts/test.sh b/scripts/test.sh index e61c8e3b63..d1a4cf630e 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -7,9 +7,8 @@ set -x if [ -f ./test.db ]; then rm ./test.db fi - -export PYTHONPATH=./docs/src -pytest --cov=fastapi --cov=tests --cov=docs/src --cov-report=term-missing ${@} bash ./scripts/lint.sh # Check README.md is up to date diff --brief docs/index.md README.md +export PYTHONPATH=./docs/src +pytest --cov=fastapi --cov=tests --cov=docs/src --cov-report=term-missing ${@}