https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Revision 59e04f762be4dcf96d1beefe0f218ceb2ae2fce9 authored by Bryna Hazelton on 18 February 2022, 17:07:11 UTC, committed by Bryna Hazelton on 28 April 2022, 17:16:27 UTC
1 parent 50e6903
Raw File
Tip revision: 59e04f762be4dcf96d1beefe0f218ceb2ae2fce9 authored by Bryna Hazelton on 18 February 2022, 17:07:11 UTC
change confusing variable name
Tip revision: 59e04f7
test_cover_noinstall.sh
#! /bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/..

# We want to make sure we build the Cython extensions now.
CFLAGS="-DCYTHON_TRACE=1 -DCYTHON_TRACE_NOGIL=1" pip install -e . --no-deps

cd pyuvdata
python -m pytest --cov=pyuvdata --cov-config=../.coveragerc\
       --cov-report term --cov-report html:tests/cover \
       "$@"
back to top