https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Revision 274f964584c3564dcc6b9d7951e056ee1fcff193 authored by Garrett "Karto" Keating on 19 June 2021, 02:41:55 UTC, committed by Paul La Plante on 25 June 2021, 14:49:40 UTC
1 parent be84262
Raw File
Tip revision: 274f964584c3564dcc6b9d7951e056ee1fcff193 authored by Garrett "Karto" Keating on 19 June 2021, 02:41:55 UTC
Whoops -- added an importskip to the wrong test
Tip revision: 274f964
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