Skip to content

Bump pygments from 2.19.2 to 2.20.0 #275

Bump pygments from 2.19.2 to 2.20.0

Bump pygments from 2.19.2 to 2.20.0 #275

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
concurrency:
group: test-${{ github.ref_name }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
test:
name: Tests (Py ${{ matrix.python-version }})
runs-on: ubuntu-24.04
permissions:
contents: read
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: ThePalaceProject/circulation/.github/actions/poetry@main
with:
version: "2.2.1"
- name: Install Tox
run: |
poetry install --only ci
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Run Tests
run: tox
env:
# Workaround for tox-docker not supporting Docker 29+, which removed
# the top-level NetworkSettings.Gateway key from the container API.
# This can be removed once tox-docker merges the fix.
# Docker 29 rollout: https://github.com/actions/runner-images/issues/13474
# tox-docker fix: https://github.com/tox-dev/tox-docker/pull/196
TOX_DOCKER_GATEWAY: "0.0.0.0"