https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Tip revision: 39c20a35997da0dd75ab19b3577efec5270866ab authored by Bryna Hazelton on 14 September 2020, 01:40:05 UTC
use different filenames to prevent collisions in parallel tests
use different filenames to prevent collisions in parallel tests
Tip revision: 39c20a3
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 \
"$@"