Skip to content

Commit ed5b2e6

Browse files
author
Jonathan Visser
committed
Run test matrix in python version containers
ubuntu-latest (24.04) no longer provides a Python 3.7 build via actions/setup-python. Run each matrix job in the official python Docker image instead, keeping the same Python versions.
1 parent 29c946e commit ed5b2e6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/test.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@ on:
66
jobs:
77
test:
88
runs-on: ubuntu-latest
9+
container: python:${{ matrix.python-version }}
910
strategy:
1011
matrix:
1112
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
1213

1314
steps:
1415
- uses: actions/checkout@v3
15-
- uses: actions/setup-python@v4
16-
with:
17-
python-version: ${{ matrix.python-version }}
1816
- name: Install dependencies
1917
run: |
2018
pip install -r requirements/base.txt

0 commit comments

Comments
 (0)