Skip to content

NIRISS Fixes for PhotoZs #613

NIRISS Fixes for PhotoZs

NIRISS Fixes for PhotoZs #613

# 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']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
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