Skip to content

Commit

Permalink
Merge pull request #1722 from braingram/ci_astrocut
Browse files Browse the repository at this point in the history
add astrocut to downstream ci
  • Loading branch information
braingram authored Jan 3, 2024
2 parents 45b1661 + 7655712 commit 334f6c3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 16 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 =
Expand Down

0 comments on commit 334f6c3

Please sign in to comment.