starlette/scripts/coverage

11 lines
169 B
Bash
Executable File

#!/bin/sh -e
export PREFIX=""
if [ -d 'venv' ] ; then
export PREFIX="venv/bin/"
fi
set -x
${PREFIX}coverage report --show-missing --skip-covered --fail-under=100