Skip to content

Add imghdr to build docs on Python 3.13 #24

Add imghdr to build docs on Python 3.13

Add imghdr to build docs on Python 3.13 #24

name: lint-test-build
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.8", "pypy3.9", "pypy3.10", "pypy3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[dev]
- name: Lint with pylint
run: |
python -m pylint polyline
- name: Test with pytest
run: |
python -m pytest
- name: Build docs
run: |
python -m sphinx.cmd.build -b html docs docs/_build/html