Skip to content

Commit e016c52

Browse files
authored
Use official docker images in Linux
1 parent 9d701e8 commit e016c52

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@ jobs:
1717
test:
1818
name: ${{ matrix.os.name }} ${{ matrix.python.name }} ${{ matrix.reactor.name }}
1919
runs-on: ${{ matrix.os.runs-on }}
20+
container: ${{ format(matrix.os.container, matrix.python.docker) }}
2021
strategy:
2122
fail-fast: false
2223
matrix:
2324
os:
2425
- name: Linux
2526
runs-on: ubuntu-latest
27+
container: docker://python:{0}-buster
2628
- name: Windows
2729
runs-on: windows-latest
2830
- name: macOS
@@ -31,18 +33,23 @@ jobs:
3133
- name: CPython 2.7
3234
tox: py27
3335
action: 2.7
36+
docker: 2.7
3437
- name: CPython 3.5
3538
tox: py35
3639
action: 3.5
40+
docker: 3.5
3741
- name: CPython 3.6
3842
tox: py36
3943
action: 3.6
44+
docker: 3.6
4045
- name: CPython 3.7
4146
tox: py37
4247
action: 3.7
48+
docker: 3.7
4349
- name: CPython 3.8
4450
tox: py38
4551
action: 3.8
52+
docker: 3.8
4653
reactor:
4754
- name: default
4855
tox: default

0 commit comments

Comments
 (0)