Revision 15c0503f66eb2c0992187bb9122ff183aa2e115c authored by Bryna Hazelton on 01 July 2021, 17:58:13 UTC, committed by Bryna Hazelton on 01 July 2021, 21:45:35 UTC
1 parent 064f5e1
Raw File
test_coverage.sh
#! /bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/..

CFLAGS="-DCYTHON_TRACE=1 -DCYTHON_TRACE_NOGIL=1" pip install .[test]

cd pyuvdata
python -m pytest --cov=pyuvdata --cov-config=../.coveragerc\
       --cov-report term --cov-report html:tests/cover \
       "$@"
back to top