diff --git a/scripts/tests b/scripts/tests new file mode 100644 index 0000000..466a026 --- /dev/null +++ b/scripts/tests @@ -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 ${@} \ No newline at end of file