Revision 9b91ad7f90b1925444091f6180bf6e3c3b46e009 authored by Bryna Hazelton on 27 July 2021, 01:19:29 UTC, committed by Bryna Hazelton on 09 September 2021, 22:30:31 UTC
1 parent 25b40da
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