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

Kwtool ci #351

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,20 @@ jobs:
cache-key: crds-${{ needs.data.outputs.crds_context }}
envs: |
- linux: py311-jwst-cov-xdist
test_keyword_dictionary:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: 3
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0
- run: git checkout ${{ github.event.pull_request.base.sha }}
- run: pip install -e ".[test]"
- run: python -c "from stdatamodels.jwst._kwtool._tests.test_against_mast import dump_keyword_dictionary; dump_keyword_dictionary('jwstkd')"
- run: python -m stdatamodels.jwst._kwtool jwstkd -o main.html
- run: git checkout ${{ github.sha }}
- run: python -m stdatamodels.jwst._kwtool jwstkd -o pr.html
- run: diff main.html pr.html >> $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change
Expand Up @@ -2491,7 +2491,6 @@ properties:
ramp_fit:
title: Ramp Fitting
type: string
fits_keyword: S_RAMP
blend_table: True
refpix:
title: Reference Pixel Correction
Expand Down
Loading