Skip to content

Commit bbe684e

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 bbe684e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/tests-skip.yml

Lines changed: 6 additions & 0 deletions
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,17 @@ 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"
6971
python-version: "3.6"
72+
- os: "ubuntu-latest"
73+
python-version: "3.7"
7074
include:
7175
- os: "ubuntu-20.04"
7276
python-version: "3.6"
77+
- os: "ubuntu-22.04"
78+
python-version: "3.7"
7379
# Do not cancel in-progress jobs if any matrix job fails
7480
fail-fast: false
7581
runs-on: "${{ matrix.os }}"

.github/workflows/tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,17 @@ 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"
165166
python-version: "3.6"
167+
- os: "ubuntu-latest"
168+
python-version: "3.7"
166169
include:
167170
- os: "ubuntu-20.04"
168171
python-version: "3.6"
172+
- os: "ubuntu-22.04"
173+
python-version: "3.7"
169174
# Do not cancel in-progress jobs if any matrix job fails
170175
fail-fast: false
171176
runs-on: "${{ matrix.os }}"

0 commit comments

Comments
 (0)