swh:1:snp:abe315f955ee28c98100d4f5da935756d780a75d
Tip revision: 52a50feeb97b9f80e30fe5a1cebf9e4b86a23028 authored by Bryna Hazelton on 13 September 2022, 01:25:38 UTC
fix windows test error, warnings
fix windows test error, warnings
Tip revision: 52a50fe
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 \
"$@"