httpx/scripts/test
2020-10-08 13:05:30 +01:00

19 lines
238 B
Bash
Executable File

#!/bin/sh
export PREFIX=""
if [ -d 'venv' ] ; then
export PREFIX="venv/bin/"
fi
set -ex
if [ -z $GITHUB_ACTIONS ]; then
scripts/check
fi
${PREFIX}coverage run -m pytest
if [ -z $GITHUB_ACTIONS ]; then
scripts/coverage
fi