Skip to content

fix run condition of devdeps test #77

fix run condition of devdeps test

fix run condition of devdeps test #77

Workflow file for this run

name: CI
on:
push:
branches:
- master
- '*.x'
tags:
- '*'
pull_request:
schedule:
# Weekly Monday 7AM build
- cron: "0 7 * * 1"
jobs:
ci:
name: Python ${{ matrix.python-version }}, numpy${{ matrix.numpy-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- python-version: "3.12"
numpy-version: "~=1.26.0"
python-version: ["3.9", "3.10", "3.11"]
numpy-version: ["~=1.23.0", "~=1.26.0", ""]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install stsci.image
run: |
python -m pip install --upgrade pip
pip install -e .[test] numpy${{ matrix.numpy-version }}
- name: Run tests
run: |
pytest