Skip to content

[WIP]: Add TA monitor for NIRCam, NIRISS, MIRI #2855

[WIP]: Add TA monitor for NIRCam, NIRISS, MIRI

[WIP]: Add TA monitor for NIRCam, NIRISS, MIRI #2855

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@v3
- 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.9, "3.10"]
steps:
- uses: actions/checkout@v3
- uses: mamba-org/provision-with-micromamba@v15
with:
environment-file: ./environment_python_${{ matrix.python-version }}.yml
cache-env: true
cache-downloads: true
- run: pip install -e .[test]
- run: conda env export
- uses: supercharge/[email protected]
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/