Skip to content

Commit 1ed533d

Browse files
committed
Use docker image for tests
1 parent 0513cf7 commit 1ed533d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/python-tests.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
python-version: [2.7, 3.8, 3.9, 3.10, 3.11]
14+
python-version: [2.7, 3.8, 3.9, '3.10', '3.11']
15+
16+
container:
17+
image: python:${{ matrix.python-version }}-slim
1518

1619
steps:
1720
- uses: actions/checkout@v2
18-
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v2
20-
with:
21-
python-version: ${{ matrix.python-version }}
22-
2321
- name: Install dependencies
2422
run: |
2523
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)