@@ -17,10 +17,11 @@ jobs:
17
17
working-directory : ./v2
18
18
19
19
steps :
20
- - name : Update base image and install Python2
20
+ - name : Update base image, intall Python2 and Python3
21
21
run : |
22
22
sudo apt-get update
23
- sudo apt-get install -y python2
23
+ sudo apt-get install -y python2
24
+ sudo apt-get install -y python3
24
25
- name : Set up Go
25
26
uses : actions/setup-go@v2
26
27
with :
51
52
working-directory : ${{env.working-directory}}
52
53
run : |
53
54
export APPENGINE_DEV_APPSERVER=$(which dev_appserver.py)
55
+ export CLOUDSDK_PYTHON="python3"
54
56
go test -v -cover -race google.golang.org/appengine/v2/...
55
57
# TestAPICallAllocations doesn't run under race detector.
56
58
go test -v -cover google.golang.org/appengine/v2/internal/... -run TestAPICallAllocations
@@ -64,12 +66,13 @@ jobs:
64
66
go-version : [ '1.11.x', '1.12.x']
65
67
env :
66
68
working-directory : ./v2
67
-
69
+
68
70
steps :
69
- - name : Update base image and intall Python2
71
+ - name : Update base image, intall Python2 and Python3
70
72
run : |
71
73
sudo apt-get update
72
- sudo apt-get install -y python2
74
+ sudo apt-get install -y python2
75
+ sudo apt-get install -y python3
73
76
- name : Set up Go
74
77
uses : actions/setup-go@v2
75
78
with :
99
102
working-directory : ${{env.working-directory}}
100
103
run : |
101
104
export APPENGINE_DEV_APPSERVER=$(which dev_appserver.py)
105
+ export CLOUDSDK_PYTHON="python3"
102
106
go test -v -cover -race google.golang.org/appengine/v2/...
103
107
# TestAPICallAllocations doesn't run under race detector.
104
108
go test -v -cover google.golang.org/appengine/v2/internal/... -run TestAPICallAllocations
0 commit comments