test script
This commit is contained in:
12
scripts/tests
Normal file
12
scripts/tests
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
PACKAGE="async-orm"
|
||||||
|
|
||||||
|
PREFIX=""
|
||||||
|
if [ -d 'venv' ] ; then
|
||||||
|
PREFIX="venv/bin/"
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
PYTHONPATH=. ${PREFIX}pytest --ignore venv --cov=${PACKAGE} --cov=tests --cov-fail-under=100 --cov-report=term-missing ${@}
|
||||||
Reference in New Issue
Block a user