Skip to content

improve grism rectification #820

improve grism rectification

improve grism rectification #820

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
env:
CRDS_SERVER_URL: https://jwst-crds.stsci.edu
CRDS_PATH: $HOME/crds_cache
on:
push:
branches: [ master ]
pull_request:
jobs:
test-jwst:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: |
pip install --upgrade pip
pip install .[jwst,test]
- name: Test with pytest
run: |
pytest --pyargs grizli --import-mode importlib