mirror of
https://github.com/fastapi/fastapi.git
synced 2026-01-17 10:28:30 -05:00
* Add an example of setting up a test database. * 📝 Add/update docs for testing a DB with dependency overrides * 🔧 Update test script, remove line removing test file as it is removed during testing * ✅ Update testing coverage pragma Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
11 lines
250 B
Bash
Executable File
11 lines
250 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
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 ${@}
|