Skip to content

Commit 4c414b8

Browse files
committed
Using python 3.10 for PR tests
1 parent ec1dcf6 commit 4c414b8

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.cicd/buildspec_pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 0.2
22

33
env:
44
variables:
5-
PY_VERSION: 3.8
5+
PY_VERSION: 3.10
66
git-credential-helper: yes
77

88
phases:

.cicd/codebuild_pr.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ Metadata:
66
Author: https://github.com/johnpreston
77

88
Parameters:
9+
CodeBuildImage:
10+
Type: String
11+
Default: aws/codebuild/standard:6.0
912
RepositoryOrganization:
1013
Type: String
1114

@@ -128,12 +131,13 @@ Resources:
128131
Type: NO_ARTIFACTS
129132
Environment:
130133
ComputeType: BUILD_GENERAL1_SMALL
131-
Image: aws/codebuild/standard:3.0
134+
Image:
135+
Ref: CodeBuildImage
132136
Type: LINUX_CONTAINER
133137
EnvironmentVariables:
134138
- Name: PY_VERSION
135139
Type: PLAINTEXT
136-
Value: 3.8
140+
Value: 3.10
137141
- Name: KNOWN_BUCKET
138142
Type: PLAINTEXT
139143
Value: !Ref TemplatesBucket

0 commit comments

Comments
 (0)