make test.sh executable

This commit is contained in:
collerek
2020-08-02 09:08:56 +02:00
parent c1b3b53875
commit 4f9dddfa0a
2 changed files with 1 additions and 1 deletions

12
scripts/test.sh Executable file
View 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 "${@}"