Skip to content

Commit

Permalink
Revert changes to tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim authored Dec 5, 2024
1 parent 020efa9 commit 11ccc0a
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
envlist =
py{310,311,312}-test{,-alldeps,-devdeps}{,-cov}{,-remote}
py{310,311,312}-test-numpy{123,124,125}{,-remote}
py{310,311,312}-test-astropy{lts,53,60}{,-remote}
py{310,311,312}-test{,-alldeps,-devdeps}{,-cov}
py{310,311,312}-test-numpy{123,124,125}
py{310,311,312}-test-astropy{lts,53,60}
build_docs
linkcheck
codestyle
Expand All @@ -15,9 +15,7 @@ indexserver =

[testenv]
# Suppress display of matplotlib plots generated during docs build
setenv =
MPLBACKEND=agg
remote: PYTEST_REMOTE_DATA=any
setenv = MPLBACKEND=agg

# Pass through the following environment variables which may be needed for the CI
passenv = HOME, WINDIR, LC_ALL, LC_CTYPE, CC, CI, TRAVIS
Expand All @@ -40,7 +38,6 @@ description =
devdeps: with the latest developer version of key dependencies
oldestdeps: with the oldest supported version of key dependencies
cov: and test coverage
remote: with remote data
numpy116: with numpy 1.16.*
numpy117: with numpy 1.17.*
numpy118: with numpy 1.18.*
Expand Down Expand Up @@ -75,8 +72,8 @@ extras =

commands =
pip freeze
!cov: pytest --remote-data={env:PYTEST_REMOTE_DATA:none} --pyargs astroplan {toxinidir}/docs {posargs}
cov: pytest --remote-data={env:PYTEST_REMOTE_DATA:none} --pyargs astroplan {toxinidir}/docs --cov astroplan --cov-config={toxinidir}/setup.cfg {posargs}
!cov: pytest --pyargs astroplan {toxinidir}/docs {posargs}
cov: pytest --pyargs astroplan {toxinidir}/docs --cov astroplan --cov-config={toxinidir}/setup.cfg {posargs}
cov: coverage xml -o {toxinidir}/coverage.xml

[testenv:build_docs]
Expand Down

0 comments on commit 11ccc0a

Please sign in to comment.