Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,13 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
# setup-python has no 3.8/3.9 builds for the current ubuntu-latest image,
# so those two run in the official Debian-based Python image instead.
container: ${{ matrix.os == 'ubuntu-latest' && (matrix.python == '3.8' || matrix.python == '3.9') && format('python:{0}-slim', matrix.python) || '' }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
if: ${{ !(matrix.os == 'ubuntu-latest' && (matrix.python == '3.8' || matrix.python == '3.9')) }}
with:
python-version: ${{ matrix.python }}
# Per version, not just once: this is what keeps the README's
Expand All @@ -74,9 +78,12 @@ jobs:
fail-fast: false
matrix:
python: ["3.8", "3.12", "3.13"]
# 3.8 in the official Python image: see the smoke job.
container: ${{ matrix.python == '3.8' && 'python:3.8-slim' || '' }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
if: ${{ matrix.python != '3.8' }}
with:
python-version: ${{ matrix.python }}
- name: Run unit tests
Expand Down
Loading