Skip to content

Commit a069ed0

Browse files
committed
Adding dev testing for pyvo, and also prereleases
1 parent d53047b commit a069ed0

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

tox.ini

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{37,38,39,310}-test{,-alldeps,-oldestdeps}{,-devastropy}{,-cov}
3+
py{37,38,39,310}-test{,-alldeps,-oldestdeps,-devdeps,-predeps}{,-cov}
44
codestyle
55
build_docs
66
requires =
@@ -27,12 +27,11 @@ changedir = .tmp/{envname}
2727
description = run tests
2828

2929
deps =
30-
devastropy: git+https://github.com/astropy/astropy.git#egg=astropy
30+
devdeps: git+https://github.com/astropy/astropy.git#egg=astropy
31+
devdeps: git+https://github.com/astropy/pyvo.git#egg=pyvo
3132

32-
# TODO: Add more versions to oldestdeps. numpy<1.15 could not be installed
33-
# in CI, a much newer version was pulled in instead, thus setting
34-
# minimum numpy to 1.15. mpl while not a dependency, it's required for the
35-
# tests, and would pull up a newer numpy version if not pinned.
33+
# TODO: Add more versions to oldestdeps.
34+
# mpl while not a dependency, it's required for the tests, and would pull up a newer numpy version if not pinned.
3635

3736
oldestdeps: astropy==4.0
3837
oldestdeps: numpy==1.16
@@ -51,6 +50,18 @@ commands =
5150
cov: pytest --pyargs astroquery {toxinidir}/docs --ignore={toxinidir}/docs/gallery* --cov astroquery --cov-config={toxinidir}/setup.cfg {posargs}
5251
cov: coverage xml -o {toxinidir}/coverage.xml
5352

53+
[testenv:predeps]
54+
description = run tests with pre-releases
55+
pip_pre = True
56+
57+
deps = {[testenv]deps}
58+
passenv = {[testenv]passenv}
59+
pypi_filter = {[testenv]pypi_filter}
60+
changedir = {[testenv]changedir}
61+
extras = {[testenv]extras}
62+
commands = {[testenv]commands}
63+
64+
5465
[testenv:codestyle]
5566
changedir = {toxinidir}
5667
skip_install = true

0 commit comments

Comments
 (0)