Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run tests for drizzlepac, stistools, and stsynphot #163

Merged
merged 2 commits into from
Aug 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 18 additions & 15 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
needs: [ build, crds_contexts ]
strategy:
matrix:
package: [ hstcal, calcos ]
package: [ calcos, drizzlepac, hstcal, stistools, stsynphot ]
# the macOS 13 runner is on Intel hardware
runs-on: [ ubuntu-latest, macos-13, macos-latest ]
python-version: [ '3.10', '3.11', '3.12' ]
Expand All @@ -144,13 +144,13 @@ jobs:
pytest
pytest-cov
pytest-args: --slow
#- package: drizzlepac
# repository: spacetelescope/drizzlepac
# test-dependencies: >-
# ci_watson
# crds
# pytest
# pytest-remotedata
- package: drizzlepac
repository: spacetelescope/drizzlepac
test-dependencies: >-
ci_watson
crds
pytest
pytest-remotedata
- package: hstcal
repository: spacetelescope/hstcal
test-dependencies: >-
Expand All @@ -159,13 +159,13 @@ jobs:
pytest-args: --slow
test-directory: tests
crds-observatory: hst
#- package: stistools
# repository: spacetelescope/stistools
#- package: stsynphot
# repository: spacetelescope/stsynphot_refactor
# test-dependencies: >-
# pytest-astropy
# ci-watson
- package: stistools
repository: spacetelescope/stistools
- package: stsynphot
repository: spacetelescope/stsynphot_refactor
test-dependencies: >-
pytest-astropy
ci-watson
exclude:
- runs-on: macos-13
python-version: '3.10'
Expand Down Expand Up @@ -215,6 +215,9 @@ jobs:
ref: ${{ steps.package_version.outputs.version }}
fetch-depth: 0
- run: pip install pytest pytest-xdist ${{ matrix.test-dependencies }}
- if: matrix.package != 'hstcal'
run: pip install -e .
working-directory: ${{ matrix.package }}
- run: pip list
- if: matrix.pre_command != ''
run: ${{ matrix.pre_command }}
Expand Down
Loading