Revision 392ba7fb42e9426c2b5a2068841da7f767eabf29 authored by Bryna Hazelton on 09 September 2021, 22:28:20 UTC, committed by Bryna Hazelton on 09 September 2021, 22:28:20 UTC
1 parent 1c02e1c
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