File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ [tox]
2
+ # We define an environment per package so that we can then run 'tox' on its own
3
+ # and have all packages be tested even if some have failures.
4
+ envlist =
5
+ # Coordinated packages
6
+ astropy_healpix
7
+ astroquery
8
+ ccdproc
9
+ photutils
10
+ regions
11
+ reproject
12
+ specutils
13
+ # Other third-party packages - these are widely used packages that have historically
14
+ # had issues with some astropy releases, so we include them here as regression testing
15
+ sunpy
16
+ lightkurve
17
+
18
+ requires =
19
+ setuptools >= 30.3.0
20
+ pip >= 19.3.1
21
+ isolated_build = true
22
+
23
+ [testenv]
24
+ pip_pre = true
25
+ # Note that we install all dependencies in all environments to catch any
26
+ # side effects and make sure all test suites pass with all packages
27
+ deps =
28
+ astropy[all,test]
29
+ # We can't install 'test' for astropy-healpix as it pins hypothesis
30
+ # in a way that is not compatible with pytest-astropy
31
+ # https://github.com/astropy/astropy-healpix/issues/160
32
+ git+https://github.com/spacetelescope/gwcs# egg_name=gwcs
33
+ git+https://github.com/astropy/specutils# egg_name=specutils[all,test]
34
+ skip_install = true
35
+ commands =
36
+ pip freeze
37
+ astropy_healpix: pytest --pyargs astropy_healpix
38
+ astroquery: pytest --pyargs astroquery
39
+ ccdproc: pytest --pyargs ccdproc
40
+ photutils: pytest --pyargs photutils
41
+ regions: pytest --pyargs regions
42
+ reproject: pytest --pyargs reproject
43
+ specutils: pytest --pyargs specutils
44
+ sunpy: pytest --pyargs sunpy
45
+ lightkurve: pytest --pyargs lightkurve
You can’t perform that action at this time.
0 commit comments