Commit 0f27df46 authored by René Fritze's avatar René Fritze
Browse files

[ci] allow setting `--cov` per test script

parent 5fe9f13f
......@@ -32,9 +32,10 @@ export PYTHONHASHSEED=0
python -c "from matplotlib import pyplot" || true
PYMOR_VERSION=$(python -c 'import pymor;print(pymor.__version__)')
# `--cov-report=` suppresses terminal output
COMMON_PYTEST_OPTS="--junitxml=test_results_${PYMOR_VERSION}.xml \
--cov-report= --cov --cov-config=setup.cfg --cov-context=test \
--cov-report= --cov-config=${PYMOR_ROOT}/setup.cfg --cov-context=test \
pytest src/pymortests/
\ No newline at end of file
THIS_DIR="$(cd "$(dirname ${BASH_SOURCE[0]})" ; pwd -P )"
source ${THIS_DIR}/common_test_setup.bash
for fn in ${PYMOR_ROOT}/docs/source/tutorial*md ; do
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment