https://github.com/RadioAstronomySoftwareGroup/pyuvdata
Raw File
Tip revision: 5e16ff70189fb9c6abed727ef4645331f5212625 authored by Matthew Kolopanis on 28 March 2024, 18:47:24 UTC
introduce the warnings from the cython lib; account for empty arrays
Tip revision: 5e16ff7
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 -n auto --cov=pyuvdata --cov-config=../.coveragerc\
       --cov-report term --cov-report html:tests/cover \
       "$@"
back to top