Add step_args to calwebb_detector1_save_jump #2687
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |