mirror of
https://github.com/fastapi/fastapi.git
synced 2026-01-05 20:49:36 -05:00
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 ${@}
|