Skip to content

Commit 304ed37

Browse files
committed
Use python version specific container
1 parent 1c09a53 commit 304ed37

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,16 @@ jobs:
2121
runs-on: ubuntu-18.04
2222
strategy:
2323
matrix:
24-
python-version:
25-
- 2.7
26-
- 3.6
27-
- 3.7
28-
- 3.8
29-
- 3.9
24+
python-image:
25+
- python:2.7-slim
26+
- python:3.6-slim
27+
- python:3.7-slim
28+
- python:3.8-slim
29+
30+
container: ${{ matrix.python-image }}
3031
steps:
31-
- name: Setup python ${{ matrix.python-version }}
32-
uses: actions/setup-python@v2
33-
with:
34-
python-version: ${{ matrix.python-version }}
35-
architecture: x64
3632

37-
- name: Test Python version ${{ matrix.python-version }}
33+
- name: Test Python version
3834
run: python --version
3935

4036
- name: Checkout repository

0 commit comments

Comments
 (0)