From 4f3cc168d1d519916dce345b965fa5854e822141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 19 Jun 2023 20:53:36 +0200 Subject: [PATCH] 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 --- .github/workflows/scriptcheck.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/scriptcheck.yml b/.github/workflows/scriptcheck.yml index 15495f3ce..13b87c37f 100644 --- a/.github/workflows/scriptcheck.yml +++ b/.github/workflows/scriptcheck.yml @@ -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']