Skip to content

Commit 5c91b05

Browse files
committed
[tests.yml]: Use Ubuntu-22.04 runner for Python 3.7
ubuntu-latest does not support Python 3.7 anymore.
1 parent 9435f8c commit 5c91b05

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/tests-skip.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
strategy:
5454
matrix:
5555
# Tests must be run on all target platforms and Python versions.
56+
# Python <3.8 is not supported in the MacOS 14 runner.
5657
os:
5758
- "ubuntu-latest"
5859
- "macos-13"
@@ -64,12 +65,15 @@ jobs:
6465
- "3.9"
6566
# Python 3.6 is not supported anymore in the Ubuntu 22.04 runner
6667
# https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
68+
# Python 3.7 is not supported anymore in the Ubuntu 24.04 runner
6769
exclude:
6870
- os: "ubuntu-latest"
69-
python-version: "3.6"
71+
python-version: ["3.6", "3.7"]
7072
include:
7173
- os: "ubuntu-20.04"
7274
python-version: "3.6"
75+
- os: "ubuntu-22.04"
76+
python-version: "3.7"
7377
# Do not cancel in-progress jobs if any matrix job fails
7478
fail-fast: false
7579
runs-on: "${{ matrix.os }}"

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,15 @@ jobs:
160160
- "3.9"
161161
# Python 3.6 is not supported anymore in the Ubuntu 22.04 runner
162162
# https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
163+
# Python 3.7 is not supported anymore in the Ubuntu 24.04 runner
163164
exclude:
164165
- os: "ubuntu-latest"
165-
python-version: "3.6"
166+
python-version: ["3.6", "3.7"]
166167
include:
167168
- os: "ubuntu-20.04"
168169
python-version: "3.6"
170+
- os: "ubuntu-22.04"
171+
python-version: "3.7"
169172
# Do not cancel in-progress jobs if any matrix job fails
170173
fail-fast: false
171174
runs-on: "${{ matrix.os }}"

0 commit comments

Comments
 (0)