Skip to content

Commit c02b3e3

Browse files
committed
get rid of Ubuntu 20.04
1 parent d5f7781 commit c02b3e3

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
matrix:
1515
python-version: [
1616
"2.7",
17-
"3.5",
1817
"3.6",
1918
"3.7",
2019
"3.8",
@@ -34,14 +33,10 @@ jobs:
3433
os: "windows-latest"
3534
- python-version: "2.7"
3635
os: "macos-latest"
37-
- python-version: "3.5"
38-
os: "macos-latest"
3936
- python-version: "3.6"
4037
os: "macos-latest"
4138
- python-version: "3.7"
4239
os: "macos-latest"
43-
- python-version: "3.5"
44-
os: "ubuntu-latest"
4540
- python-version: "3.6"
4641
os: "ubuntu-latest"
4742
- python-version: "3.7"
@@ -54,14 +49,17 @@ jobs:
5449
- python-version: "3.7"
5550
os: "macos-13"
5651
- python-version: "2.7"
57-
os: "ubuntu-20.04"
58-
- python-version: "3.5"
59-
os: "ubuntu-20.04"
52+
os: "ubuntu-22.04"
53+
use-container: true
6054
- python-version: "3.6"
61-
os: "ubuntu-20.04"
55+
os: "ubuntu-22.04"
56+
use-container: true
6257
- python-version: "3.7"
6358
os: "ubuntu-22.04"
59+
use-container: true
6460
runs-on: ${{ matrix.os }}
61+
container:
62+
image: ${{ matrix.use-container && format('python:{0}', matrix.python-version) || '' }}
6563
env:
6664
TOXENV: py
6765
steps:

0 commit comments

Comments
 (0)