13 lines
239 B
Bash
Executable File
13 lines
239 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
export PACKAGE="httpcore"
|
|
export PREFIX=""
|
|
if [ -d 'venv' ] ; then
|
|
export PREFIX="venv/bin/"
|
|
fi
|
|
|
|
set -x
|
|
|
|
PYTHONPATH=. ${PREFIX}pytest --ignore venv --cov tests --cov ${PACKAGE} --cov-report= ${@}
|
|
${PREFIX}coverage report
|