Revision 238718514de4efa26581e554492e34eacf3bf231 authored by Bryna Hazelton on 02 July 2024, 00:53:05 UTC, committed by Bryna Hazelton on 12 July 2024, 15:32:30 UTC
1 parent 4fe59c7
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]

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