diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index fe160534b..74a3643e8 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -55,6 +55,7 @@ jobs: # Any env name which does not start with `pyXY` will use this Python version. default_python: '3.10' envs: | + - linux: astrocut - linux: gwcs - linux: jwst - linux: stdatamodels diff --git a/tox.ini b/tox.ini index 236090b0e..c741492ad 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ env_list = coverage py{39,310,311,312}{,-compatibility,-coverage,-jsonschema}{,-devdeps}{,-parallel} asdf{-standard,-transform-schemas,-unit-schemas,-wcs-schemas,-coordinates-schemas,-astropy,-zarr,-compression} + astrocut gwcs jwst stdatamodels @@ -188,6 +189,21 @@ commands_pre = commands = pytest specutils +[testenv:astrocut] +change_dir = {env_tmp_dir} +allowlist_externals = + git + bash +extras = +commands_pre = + bash -c "pip freeze -q | grep 'asdf @' > {env_tmp_dir}/requirements.txt" + git clone https://github.com/spacetelescope/astrocut.git + pip install -e astrocut[test] + pip install -r {env_tmp_dir}/requirements.txt + pip freeze +commands = + pytest astrocut + [testenv:gwcs] change_dir = {env_tmp_dir} allowlist_externals =