Skip to content

Commit

Permalink
remove datadeps from tox.ini; enable remote_data when measuring coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tepickering committed Apr 6, 2023
1 parent 4111f74 commit 403b594
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
py{38,39,310,311}-test{,-devdeps,-datadeps}{,-cov}
py{38,39,310,311}-test-numpy{118,119,120,121}
py{38,39,310,311}-test{,-devdeps}{,-cov}
py{38,39,310,311}-test-numpy{120,121,122,123}
py{38,39,310,311}-test-astropy{lts,rc}
build_docs
codestyle
Expand Down Expand Up @@ -32,19 +32,22 @@ changedir = .tmp/{envname}
#
description =
run tests
datadeps: with specreduce_data package installed locally
devdeps: with the latest developer version of key dependencies
oldestdeps: with the oldest supported version of key dependencies
cov: and test coverage
cov: enable remote data and measure test coverage
numpy120: with numpy 1.20.*
numpy121: with numpy 1.21.*
numpy122: with numpy 1.22.*
numpy123: with numpy 1.23.*
astropylts: with the latest astropy LTS

# The following provides some specific pinnings for key packages
deps =

numpy120: numpy==1.20.*
numpy121: numpy==1.21.*
numpy122: numpy==1.22.*
numpy123: numpy==1.23.*

astropy51: astropy==5.1.*
astropylts: astropy==5.1.*
Expand All @@ -53,8 +56,6 @@ deps =
devdeps: git+https://github.com/astropy/astropy.git#egg=astropy
devdeps: git+https://github.com/astropy/specutils.git#egg=specutils

datadeps: git+https://github.com/astropy/specreduce-data.git#egg=specreduce_data

oldestdeps: numpy==1.20
oldestdeps: astropy==5.1
oldestdeps: scipy==1.6.0
Expand All @@ -70,7 +71,7 @@ extras =
commands =
pip freeze
!cov: pytest --pyargs specreduce {toxinidir}/docs {posargs}
cov: pytest --pyargs specreduce {toxinidir}/docs --cov specreduce --cov-config={toxinidir}/setup.cfg {posargs}
cov: pytest --pyargs specreduce {toxinidir}/docs --cov specreduce --cov-config={toxinidir}/setup.cfg --remote-data {posargs}
cov: coverage xml -o {toxinidir}/coverage.xml

pip_pre =
Expand Down

0 comments on commit 403b594

Please sign in to comment.