https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Raw File
Tip revision: 6aab89e532d3cb84313b8cacb648038865821e87 authored by Bryna Hazelton on 09 December 2020, 16:35:30 UTC
have doctests use regular test yaml, use python 3.8 more
Tip revision: 6aab89e
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