Skip to content

Commit 30a1b41

Browse files
committed
fix(ci): where python is too old for ubuntu-latest, use earlier ubuntu
1 parent e8cf497 commit 30a1b41

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,27 @@ permissions:
1414

1515
jobs:
1616
build:
17-
18-
runs-on: ubuntu-latest
1917
strategy:
2018
matrix:
21-
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
22-
19+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
20+
include:
21+
- python-version: "3.6"
22+
os: ubuntu-20.04
23+
- python-version: "3.7"
24+
os: ubuntu-22.04
25+
- python-version: "3.8"
26+
os: ubuntu-24.04
27+
- python-version: "3.9"
28+
os: ubuntu-24.04
29+
- python-version: "3.10"
30+
os: ubuntu-24.04
31+
- python-version: "3.11"
32+
os: ubuntu-24.04
33+
- python-version: "3.12"
34+
os: ubuntu-24.04
35+
- python-version: "3.13"
36+
os: ubuntu-24.04
37+
runs-on: ${{ matrix.os }}
2338
steps:
2439
- uses: actions/checkout@v4
2540
- name: Set up Python ${{ matrix.python-version }}

0 commit comments

Comments
 (0)