fastapi/scripts/test.sh

10 lines
170 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -x
# Check README.md is up to date
python ./scripts/docs.py verify-readme
export PYTHONPATH=./docs_src
coverage run -m pytest tests ${@}