From 18ce0a6183c6c8a5625a05f8ae15a1642a1e1b50 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Thu, 12 Dec 2024 13:17:34 +0100 Subject: [PATCH] Accomodated rollout of Ubuntu 24.04 on GitHub Actions Signed-off-by: Andreas Maier --- .github/workflows/test.yml | 30 +++++++++++++++++++++++++++--- changes/noissue.2.cleanup.rst | 2 ++ 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 changes/noissue.2.cleanup.rst diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8086865..cd27efb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,7 +38,31 @@ jobs: echo "matrix={ \ \"os\": [ \"ubuntu-latest\", \"macos-latest\", \"windows-latest\" ], \ \"python-version\": [ \"3.8\", \"3.9\", \"3.10\", \"3.11\", \"3.12\", \"3.13\" ], \ - \"package_level\": [ \"minimum\", \"latest\" ] \ + \"package_level\": [ \"minimum\", \"latest\" ], \ + \"exclude\": [ \ + { \ + \"os\": \"ubuntu-latest\", \ + \"python-version\": \"3.8\", \ + \"package_level\": \"minimum\" \ + }, \ + { \ + \"os\": \"ubuntu-latest\", \ + \"python-version\": \"3.8\", \ + \"package_level\": \"latest\" \ + } \ + ], \ + \"include\": [ \ + { \ + \"os\": \"ubuntu-22.04\", \ + \"python-version\": \"3.8\", \ + \"package_level\": \"minimum\" \ + }, \ + { \ + \"os\": \"ubuntu-22.04\", \ + \"python-version\": \"3.8\", \ + \"package_level\": \"latest\" \ + } \ + ] \ }" >> $GITHUB_OUTPUT; \ else \ echo "matrix={ \ @@ -47,12 +71,12 @@ jobs: \"package_level\": [ \"minimum\", \"latest\" ], \ \"include\": [ \ { \ - \"os\": \"ubuntu-latest\", \ + \"os\": \"ubuntu-22.04\", \ \"python-version\": \"3.8\", \ \"package_level\": \"minimum\" \ }, \ { \ - \"os\": \"ubuntu-latest\", \ + \"os\": \"ubuntu-22.04\", \ \"python-version\": \"3.8\", \ \"package_level\": \"latest\" \ }, \ diff --git a/changes/noissue.2.cleanup.rst b/changes/noissue.2.cleanup.rst new file mode 100644 index 0000000..0a987a5 --- /dev/null +++ b/changes/noissue.2.cleanup.rst @@ -0,0 +1,2 @@ +Accommodated rollout of Ubuntu 24.04 on GitHub Actions by using ubuntu-22.04 +as the OS image for Python 3.8 based test runs.