mirror of https://github.com/tiangolo/fastapi.git
15 lines
304 B
Bash
Executable File
15 lines
304 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
# Remove temporary DB
|
|
if [ -f ./test.db ]; then
|
|
rm ./test.db
|
|
fi
|
|
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 ${@}
|