mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-06 18:46:40 +00:00
14 lines
304 B
Bash
Executable file
14 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 ${@}
|