mirror of https://github.com/encode/starlette.git
11 lines
220 B
Plaintext
11 lines
220 B
Plaintext
|
#!/bin/sh -e
|
||
|
|
||
|
export PREFIX=""
|
||
|
if [ -d 'venv' ] ; then
|
||
|
export PREFIX="venv/bin/"
|
||
|
fi
|
||
|
|
||
|
set -x
|
||
|
|
||
|
PYTHONPATH=. ${PREFIX}pytest --ignore venv --cov=starlette --cov=tests --cov-fail-under=100 --cov-report=term-missing ${@}
|