From 340433a4d70f4f54531d04155f44510c9ecd286b Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Thu, 10 Oct 2024 09:08:07 +0100 Subject: [PATCH] test 3.7 on 22.04 --- .github/workflows/ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0fd1439a8..f69f8f68b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,14 @@ jobs: }, ] include: + # ubuntu-24.04 does not support 3.7 + - python-version: 3.7 + platform: + { + os: "ubuntu-22.04", + python-architecture: "x64", + rust-target: "x86_64-unknown-linux-gnu", + } # Older versions of CPython are not available for AArch64. - python-version: 3.12 platform: @@ -73,6 +81,15 @@ jobs: python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu", } + exclude: + # ubuntu-24.04 does not support 3.7 + - python-version: 3.7 + platform: + { + os: "ubuntu-latest", + python-architecture: "x64", + rust-target: "x86_64-unknown-linux-gnu", + } steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -125,6 +142,24 @@ jobs: rust-target: "x86_64-pc-windows-msvc", }, ] + include: + # ubuntu-24.04 does not support 3.7 + - python-version: 3.7 + platform: + { + os: "ubuntu-22.04", + python-architecture: "x64", + rust-target: "x86_64-unknown-linux-gnu", + } + exclude: + # ubuntu-24.04 does not support 3.7 + - python-version: 3.7 + platform: + { + os: "ubuntu-latest", + python-architecture: "x64", + rust-target: "x86_64-unknown-linux-gnu", + } steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }}