Skip to content

Fix failing test due to astropy.wcs fix for distortion look-up table bug #104

Fix failing test due to astropy.wcs fix for distortion look-up table bug

Fix failing test due to astropy.wcs fix for distortion look-up table bug #104

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags:
- '*'
pull_request:
jobs:
tox:
name: ${{ matrix.name }}
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
include:
- name: Python 3.10
runs-on: ubuntu-latest
python-version: '3.10'
toxenv: py310
- name: Python 3.9
runs-on: ubuntu-latest
python-version: 3.9
toxenv: py39
- name: Python 3.12
runs-on: ubuntu-latest
python-version: 3.12
toxenv: py312
- name: Code style checks
runs-on: ubuntu-latest
python-version: 3.11
toxenv: style
- name: Python 3.11 with dev dependencies
runs-on: ubuntu-latest
python-version: 3.11
toxenv: dev
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run tox
run: tox -e ${{ matrix.toxenv }}
# Kept in a separate job because it needs extra system dependencies
# that can't be installed by tox.
build-docs:
name: Build documentation and check warnings
runs-on: ubuntu-latest
steps:
- name: Install system packages
run: |
sudo apt-get install graphviz texlive-latex-extra dvipng
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run tox
run: tox -e build-docs