uvicorn/scripts/test
Humberto Rocha 0dcfc0227d
Add contributing page to the docs (#1197) (#1224)
* Add contributing page to the docs (#1197)

* Applying suggestions to contributing page
2021-11-23 16:22:22 +01:00

19 lines
257 B
Bash
Executable File

#!/bin/sh
export PREFIX=""
if [ -d 'venv' ]; then
export PREFIX="venv/bin/"
fi
set -ex
if [ -z $GITHUB_ACTIONS ]; then
scripts/check
fi
${PREFIX}coverage run --debug config -m pytest "$@"
if [ -z $GITHUB_ACTIONS ]; then
scripts/coverage
fi