Skip to content
Myr

test

This file

Path

scripts/test

12 lines · 263 bytes

Last changed by

100% test coverage (#71)Tom Christiebefore adoptionfc16d31

History of this file

Take it

1#!/bin/sh -e23export PACKAGE="httpcore"4export PREFIX=""5if [ -d 'venv' ] ; then6    export PREFIX="venv/bin/"7fi89set -x1011PYTHONPATH=. ${PREFIX}pytest --ignore venv --cov tests --cov ${PACKAGE} --cov-report= --cov-fail-under=100 ${@}12${PREFIX}coverage report -m