Skip to content

Commit

Permalink
Add downstreamdeps to tox and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavies-st committed Jan 23, 2024
1 parent 8897507 commit bf0dbc4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
- macos: py311-xdist
- linux: py311-cov-xdist
coverage: 'codecov'
- linux: py311-downstreamdeps-cov-xdist
coverage: 'codecov'
- linux: py312-xdist
test_downstream:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
Expand Down
2 changes: 1 addition & 1 deletion tests/test_crds_client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from crds.core.exceptions import CrdsLookupError
import pytest
from crds.core.exceptions import CrdsLookupError

from stpipe import crds_client

Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
check-{style,security,build}
test{,-warnings,-cov,-xdist,-oldestdeps,-devdeps}
test{,-warnings,-cov,-xdist,-oldestdeps,-devdeps,-downstreamdeps}
test-{jwst,romancal}-xdist
build-{docs,dist}

Expand Down Expand Up @@ -37,6 +37,7 @@ description =
jwst: of JWST pipeline
romancal: of Romancal pipeline
oldestdeps: with the oldest supported version of key dependencies
downstreamdeps: with the downstream packages that depend on stpipe
warnings: treating warnings as errors
cov: with coverage
xdist: using parallel processing
Expand All @@ -49,6 +50,7 @@ deps =
romancal: romancal[test] @ git+https://github.com/spacetelescope/romancal.git
oldestdeps: minimum_dependencies
devdeps: astropy>=0.0.dev0
downstreamdeps: stdatamodels
pass_env =
CRDS_*
CI
Expand Down

0 comments on commit bf0dbc4

Please sign in to comment.