Skip to content

Commit 39437a3

Browse files
committed
Move GNU/Linux Python 3.7 test to Ubuntu 22.04 LTS
Rather than `ubuntu-latest`, which is currently Ubuntu 24.04 LTS. (Neither the `ubuntu-24.04` image nor the `python-versions` download source have builds of Python 3.7 that run on Ubuntu, due to Python 3.7 being end-of-life for a while now.)
1 parent 53dcb4f commit 39437a3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
matrix:
9292
os:
9393
- ubuntu-latest
94+
- ubuntu-22.04
9495
- macos-latest
9596
# - windows-latest
9697
python-version:
@@ -103,6 +104,23 @@ jobs:
103104
- '3.8'
104105
- '3.7'
105106
exclude:
107+
# Don't test Python 3.7 on Ubuntu >= 24.04 LTS.
108+
- os: ubuntu-latest
109+
python-version: '3.7'
110+
# Only test Python 3.7 on Ubuntu 22.04 LTS.
111+
- os: ubuntu-22.04
112+
python-version: '3.13'
113+
- os: ubuntu-22.04
114+
python-version: '3.12'
115+
- os: ubuntu-22.04
116+
python-version: '3.11'
117+
- os: ubuntu-22.04
118+
python-version: '3.10'
119+
- os: ubuntu-22.04
120+
python-version: '3.9'
121+
- os: ubuntu-22.04
122+
python-version: '3.8'
123+
# Don't test Python 3.7 on macOS.
106124
- os: macos-latest
107125
python-version: '3.7'
108126

0 commit comments

Comments
 (0)