Skip to content

Commit 0dbed83

Browse files
authored
Allow per os/python version Docker image selection
1 parent 8ea5a7e commit 0dbed83

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,20 @@ 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) }}
20+
container: ${{ matrix.os.container[matrix.python.docker] }}
2121
strategy:
2222
fail-fast: false
2323
matrix:
2424
os:
2525
- name: Linux
2626
runs-on: ubuntu-latest
2727
python_platform: linux
28-
container: docker://python:{0}-buster
28+
container:
29+
2.7: docker://python:2.7-buster
30+
3.5: docker://python:3.5-buster
31+
3.6: docker://python:3.6-buster
32+
3.7: docker://python:3.7-buster
33+
3.8: docker://python:3.8-buster
2934
- name: Windows
3035
runs-on: windows-latest
3136
python_platform: win32

0 commit comments

Comments
 (0)