From d737c21f6cdd5281e6b9d3494a4938a249b6e259 Mon Sep 17 00:00:00 2001 From: Mark Syms Date: Tue, 20 Jun 2023 11:57:40 +0100 Subject: [PATCH] Allow workflows to run on python2.7 Signed-off-by: Mark Syms --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0e0493a1..46b9f6c7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,6 +20,9 @@ jobs: name: Python sanity checks and regression tests runs-on: ubuntu-20.04 # 20.04 is required for availability of python-2.7 + container: + image: python:2.7.18-buster + strategy: fail-fast: false matrix: @@ -44,4 +47,4 @@ jobs: - name: Test sar file collection, extended by XSI-1385 with plain-text SARs run: | export PYTHON=${{ steps.cpython.outputs.python-path }} - sudo -E TRACE=logging tests/integration/sar-file-collection.test.sh \ No newline at end of file + sudo -E TRACE=logging tests/integration/sar-file-collection.test.sh