Skip to content

Commit

Permalink
CI: add extra astropy pip index to pick up new dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz committed Aug 8, 2023
1 parent afddaa8 commit 358a4e9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ description = run tests
setenv =
PYTEST_ARGS = ''
online: PYTEST_ARGS = --remote-data=any --reruns=1 --reruns-delay 10
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple https://pypi.anaconda.org/astropy/simple

deps =
# Installation of nightly wheels happen below in the `commands` section for devdeps
devdeps: numpy>=0.0.dev0
devdeps: astropy>=0.0.dev0
devdeps: git+https://github.com/astropy/pyvo.git#egg=pyvo

# mpl while not a dependency, it's required for the tests, and would pull up a newer numpy version if not pinned.
Expand All @@ -48,9 +50,6 @@ extras =


commands =
devdeps: python -m pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
devdeps: python -m pip install -U --pre -i https://pypi.anaconda.org/astropy/simple astropy

python -m pip freeze
!cov: pytest --pyargs astroquery {toxinidir}/docs {env:PYTEST_ARGS} {posargs}
cov: pytest --pyargs astroquery {toxinidir}/docs --cov astroquery --cov-config={toxinidir}/setup.cfg {env:PYTEST_ARGS} {posargs}
Expand Down

0 comments on commit 358a4e9

Please sign in to comment.