From 85704dbbe4e007230211668567b3ed9d90182d44 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 15 Dec 2023 12:49:08 +0000 Subject: [PATCH 1/2] CI: Run tests on Python 3.11 and 3.12 Signed-off-by: Simon McVittie --- .github/workflows/testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 1f3c598..ad4cc21 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -26,7 +26,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10'] + python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12'] no-coverage: [0] include: - os: ubuntu-latest From cb6f730e2604d863c924b60c46648969e605f51a Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 15 Dec 2023 12:55:20 +0000 Subject: [PATCH 2/2] CI: Clean up EOL Python versions Github no longer offers Python 2.x at all, so stop running CI on that. Github no longer offers Python 3.5 or 3.6 on its latest Ubuntu images, so use an older Ubuntu image to run those. Signed-off-by: Simon McVittie --- .github/workflows/testing.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index ad4cc21..c3187ba 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -26,9 +26,13 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12'] + python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12'] no-coverage: [0] include: + - os: ubuntu-20.04 + python-version: '3.5' + - os: ubuntu-20.04 + python-version: '3.6' - os: ubuntu-latest python-version: pypy-2.7 no-coverage: 1