Skip to content

Update NIRSpec TA Models #3315

Update NIRSpec TA Models

Update NIRSpec TA Models #3315

Workflow file for this run

name: JWQL CI
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash -l {0}
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- run: pip install bandit
- run: bandit ./jwql/ -c .bandit
test:
name: test (Python ${{ matrix.python-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 5
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: ./environment_python_${{ matrix.python-version }}.yml
cache-environment: true
cache-downloads: true
init-shell: bash
- run: pip install -e .[test]
- run: micromamba env export
- uses: supercharge/redis-github-action@1.4.0
with:
redis-version: 5.0
if: runner.os == 'Linux'
- run: python -c "import jwql; print('Version ' + jwql.__version__); print('Path ' + jwql.__path__[0])"
- run: pytest jwql/tests/