From c7608523e0ebcbf782c9b0c3ff27add0d7d466c3 Mon Sep 17 00:00:00 2001 From: KV Date: Thu, 16 Jan 2025 17:25:48 +0100 Subject: [PATCH] Use ubuntu-latest for the supported Python versions (#442) Use ubuntu-22.04 only for Python 3.7-3.8 by including them separately into the matrix. --- .github/workflows/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 368d097..6acc4ff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,8 +7,16 @@ jobs: strategy: max-parallel: 6 matrix: + # ubuntu-22.04 supports Python 3.7-3.12 + # ubuntu-24.04 (currently latest & preferred) supports Python 3.9-3.12 + # More details: https://github.com/actions/runner-images/issues/10636 os: [ubuntu-latest] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] + include: + - os: ubuntu-22.04 + python-version: "3.7" + - os: ubuntu-22.04 + python-version: "3.8" runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4