From ef6219592383ae2da21c97d262fe2cc97fb9e7b3 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Thu, 12 Dec 2024 14:39:57 +0100 Subject: [PATCH] Accomodated rollout of Ubuntu 24.04 on GitHub Actions Signed-off-by: Andreas Maier --- .github/workflows/test.yml | 28 ++++++++++++++++++++++++++-- changes/noissue.1.cleanup.rst | 2 ++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 changes/noissue.1.cleanup.rst diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97dfee2..4ffb4d9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,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={ \ @@ -45,7 +69,7 @@ jobs: \"package_level\": [ \"minimum\", \"latest\" ], \ \"include\": [ \ { \ - \"os\": \"ubuntu-latest\", \ + \"os\": \"ubuntu-22.04\", \ \"python-version\": \"3.8\", \ \"package_level\": \"minimum\" \ }, \ diff --git a/changes/noissue.1.cleanup.rst b/changes/noissue.1.cleanup.rst new file mode 100644 index 0000000..0a987a5 --- /dev/null +++ b/changes/noissue.1.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.