Revision d4d31767c31f3279381cf9cdcae74b033e71c9b3 authored by Garrett 'Karto' Keating on 29 December 2022, 23:39:31 UTC, committed by Garrett 'Karto' Keating on 29 December 2022, 23:39:31 UTC
1 parent e13c667
Raw File
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 \
       "$@"
back to top