Skip to content

Commit 6e2c50e

Browse files
authored
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
1 parent 9af54ae commit 6e2c50e

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/ci-v2.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
go-version: [ '1.11.x', '1.12.x', '1.13.x', '1.14.x', '1.15.x', '1.16.x']
15+
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']
1616
env:
1717
working-directory: ./v2
1818

1919
steps:
20+
- name: Update base image and intall Python2
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install -y python2
2024
- name: Set up Go
2125
uses: actions/setup-go@v2
2226
with:
@@ -62,6 +66,10 @@ jobs:
6266
working-directory: ./v2
6367

6468
steps:
69+
- name: Update base image and intall Python2
70+
run: |
71+
sudo apt-get update
72+
sudo apt-get install -y python2
6573
- name: Set up Go
6674
uses: actions/setup-go@v2
6775
with:

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
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']
1616

1717
steps:
18+
- name: Update base image and intall Python2
19+
run: |
20+
sudo apt-get update
21+
sudo apt-get install -y python2
1822
- name: Set up Go
1923
uses: actions/setup-go@v2
2024
with:
@@ -56,6 +60,10 @@ jobs:
5660
go-version: [ '1.11.x', '1.12.x']
5761

5862
steps:
63+
- name: Update base image and intall Python2
64+
run: |
65+
sudo apt-get update
66+
sudo apt-get install -y python2
5967
- name: Set up Go
6068
uses: actions/setup-go@v2
6169
with:

0 commit comments

Comments
 (0)