mirror of https://github.com/tiangolo/fastapi.git
15 lines
318 B
Bash
Executable File
15 lines
318 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/en/docs/index.md README.md
|
|
export PYTHONPATH=./docs_src
|
|
pytest --cov=fastapi --cov=tests --cov=docs/src --cov-report=term-missing tests ${@}
|