Skip to content

Merge pull request #24 from mfixstsci/update-setup #37

Merge pull request #24 from mfixstsci/update-setup

Merge pull request #24 from mfixstsci/update-setup #37

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:
max-parallel: 5
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
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: |
cd $RUNNER_WORKSPACE/
cd jwst_backgrounds/
python setup.py install
pytest