Skip to content
Myr

test

This file

Path

scripts/test

12 lines · 239 bytes

Last changed by

StuffTom Christiebefore adoption30530d4

History of this file

Take it

StuffTom Christiebefore adoption30530d4

lines 1–12why, one step back
1#!/bin/sh -e
23export PACKAGE="httpcore"4export PREFIX=""5if [ -d 'venv' ] ; then6 export PREFIX="venv/bin/"7fi89set -x1011PYTHONPATH=. ${PREFIX}pytest --ignore venv --cov tests --cov ${PACKAGE} --cov-report= ${@}12${PREFIX}coverage report