Skip to content

Commit

Permalink
Merge pull request #523 from larrybradley/setup
Browse files Browse the repository at this point in the history
Update tox config
  • Loading branch information
larrybradley authored Sep 13, 2023
2 parents 9c5747c + 9e25d33 commit 210e0c8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 210e0c8

Please sign in to comment.