From 9e25d33ec6bdd1aba9e3b4ee03c86efa5cece7e1 Mon Sep 17 00:00:00 2001 From: Larry Bradley Date: Wed, 13 Sep 2023 14:21:34 -0400 Subject: [PATCH] Update tox config --- tox.ini | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index b88cc5d9..86c833f7 100644 --- a/tox.ini +++ b/tox.ini @@ -58,7 +58,7 @@ description = # The following provides some specific pinnings for key packages deps = - cov: coverage + cov: pytest-cov numpy118: numpy==1.18.* numpy119: numpy==1.19.* @@ -101,11 +101,10 @@ extras = build_docs: docs commands = - devdeps: pip install -U -i https://pypi.anaconda.org/astropy/simple astropy --pre pip freeze - !cov: pytest --pyargs regions {toxinidir}/docs {posargs} - cov: pytest --pyargs regions {toxinidir}/docs --cov regions --cov-config={toxinidir}/pyproject.toml {posargs} - cov: coverage xml -o {toxinidir}/coverage.xml + pytest --pyargs regions {toxinidir}/docs \ + cov: --cov regions --cov-config={toxinidir}/pyproject.toml --cov-report xml:{toxinidir}coverage xml \ + {posargs} [testenv:build_docs] changedir = docs