Skip to content

Commit 70a492b

Browse files
committed
test changes for 24.04 ubuntu github action migration
Explicitly test python 3.8 on ubunutu-22.04. Explicitly test python 3.12 on ubuntu-24.04. disable all other testing on 24.04 for now. In future commit, remove explicit matrix.os list entry ubuntu-24.04 in favor of ubuntu-latest and add 22.04 to exclude.os [skip travis]
1 parent 16c87a1 commit 70a492b

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/ci-test.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- "3.13"
5656
# - 3.6 run via include on ubuntu 20.04
5757
# - "3.7"
58-
- "3.8"
58+
# - "3.8" run via include for ubuntu-22.04
5959
# - "3.9"
6060
- "3.10"
6161
- "3.11"
@@ -64,7 +64,8 @@ jobs:
6464
# use for multiple os or ubuntu versions
6565
#os: [ubuntu-latest, macos-latest, windows-latest]
6666
# ubuntu latest 22.04 12/2022
67-
os: [ubuntu-latest, ubuntu-20.04]
67+
# ubuntu latest 24.04 12/2024
68+
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, ubuntu-24.04]
6869

6970
# if the ones above fail. fail the build
7071
experimental: [ false ]
@@ -81,9 +82,18 @@ jobs:
8182
- python-version: 3.6
8283
os: ubuntu-20.04
8384

85+
# 3.8 not available on new 24.04 runners, so run on 22.04 ubuntu
86+
- python-version: 3.8
87+
os: ubuntu-22.04
88+
89+
# test on new default 24.04 runner 3.12 for 24.04
90+
- python-version: 3.12
91+
os: ubuntu-24.04
92+
8493
exclude:
85-
# skip all python versions on 20.04 except explicitly included
86-
- os: ubuntu-20.04
94+
# skip all python versions on 20.04/24.04 except
95+
# explicitly included
96+
- os: [ubuntu-20.04, ubuntu-24.04]
8797

8898
# run the finalizer for coveralls even if one or more
8999
# experimental matrix runs fail.

0 commit comments

Comments
 (0)