Skip to content

Commit 3571b6a

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

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/ci.yml

Lines changed: 5 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,15 @@ 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"
6256
- python-version: "3.7"
6357
os: "ubuntu-22.04"
6458
runs-on: ${{ matrix.os }}
59+
container:
60+
image: ${{ matrix.use-container && format('python:{0}', matrix.python-version) || '' }}
6561
env:
6662
TOXENV: py
6763
steps:

0 commit comments

Comments
 (0)