Skip to content

MNT: Use hash for Action workflow versions and update, and add dependabot, if needed #55

MNT: Use hash for Action workflow versions and update, and add dependabot, if needed

MNT: Use hash for Action workflow versions and update, and add dependabot, if needed #55

Workflow file for this run

name: JWST BKG CI
on: [push, pull_request]
jobs:
JWST-BKG-CI:
name: Python - ${{ matrix.python-version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install pip/pytest
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install Package and Test
run: |
pip install -e .[test] pytest-xdist
pytest -n auto jwst_backgrounds/tests/