From 6e2c50e5f15c4389afa69ff883327e15b9ea98c6 Mon Sep 17 00:00:00 2001 From: Ludovic Champenois Date: Wed, 15 Mar 2023 18:09:59 -0700 Subject: [PATCH] Install Python2 in base image for DevAppServer tests and change test matrix for 1.11 and 1.20.x (#304) * Install python2 needed for the tests. * Update base image and install python2 * Adding python2 * adding python 2 * Add more go versions to test. * remove 1.11 --- .github/workflows/ci-v2.yaml | 10 +++++++++- .github/workflows/ci.yml | 8 ++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-v2.yaml b/.github/workflows/ci-v2.yaml index 6b30b2b0..7ae44cd1 100644 --- a/.github/workflows/ci-v2.yaml +++ b/.github/workflows/ci-v2.yaml @@ -12,11 +12,15 @@ jobs: strategy: fail-fast: false matrix: - go-version: [ '1.11.x', '1.12.x', '1.13.x', '1.14.x', '1.15.x', '1.16.x'] + go-version: [ '1.12.x', '1.13.x', '1.14.x', '1.15.x', '1.16.x', '1.18.x', '1.19.x', '1.20.x'] env: working-directory: ./v2 steps: + - name: Update base image and intall Python2 + run: | + sudo apt-get update + sudo apt-get install -y python2 - name: Set up Go uses: actions/setup-go@v2 with: @@ -62,6 +66,10 @@ jobs: working-directory: ./v2 steps: + - name: Update base image and intall Python2 + run: | + sudo apt-get update + sudo apt-get install -y python2 - name: Set up Go uses: actions/setup-go@v2 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c0d172c..4d9e5c37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,10 @@ jobs: go-version: [ '1.11.x', '1.12.x', '1.13.x', '1.14.x', '1.15.x', '1.16.x', '1.18.x', '1.19.x', '1.20.x'] steps: + - name: Update base image and intall Python2 + run: | + sudo apt-get update + sudo apt-get install -y python2 - name: Set up Go uses: actions/setup-go@v2 with: @@ -56,6 +60,10 @@ jobs: go-version: [ '1.11.x', '1.12.x'] steps: + - name: Update base image and intall Python2 + run: | + sudo apt-get update + sudo apt-get install -y python2 - name: Set up Go uses: actions/setup-go@v2 with: