Revision ef17f67eee32fe94ba6eb56de30b07e113f6ca61 authored by Paul La Plante on 13 May 2021, 15:23:29 UTC, committed by Bryna Hazelton on 15 May 2021, 00:39:02 UTC
1 parent 2df1b92
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