CI: python 2.7 tests needs to run in a container (#5174)
Python 2.7 is not supported anymore in github actions runners. See: https://github.com/actions/setup-python/issues/672
This commit is contained in:
parent
38b2c5ee3f
commit
4f3cc168d1
|
@ -38,6 +38,8 @@ jobs:
|
|||
needs: build
|
||||
# 'ubuntu-22.04' removes Python 2.7, 3.5 and 3.6 so keep the previous LTS version
|
||||
runs-on: ubuntu-20.04
|
||||
container:
|
||||
image: python:2.7.18-buster
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11']
|
||||
|
|
Loading…
Reference in New Issue