File tree Expand file tree Collapse file tree 4 files changed +35
-1
lines changed Expand file tree Collapse file tree 4 files changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -120,4 +120,17 @@ jobs:
120
120
env :
121
121
PR : ${{ github.event.number }}
122
122
BRANCH : ${{ github.head_ref || 'master'}}
123
- BASE : ${{ github.base_ref }}
123
+ BASE : ${{ github.base_ref }}
124
+ endpoints-tests :
125
+ runs-on : ubuntu-latest
126
+ steps :
127
+ - name : Configure AWS Credentials
128
+ uses : aws-actions/configure-aws-credentials@v1
129
+ with :
130
+ role-to-assume : ${{ secrets.CI_AWS_ROLE_ARN }}
131
+ aws-region : us-west-2
132
+ role-duration-seconds : 7200
133
+ - name : Run endpoints test
134
+ uses : aws-actions/aws-codebuild-run-build@v1
135
+ with :
136
+ project-name : aws-sdk-java-v2-endpoints-test
Original file line number Diff line number Diff line change
1
+ version : 0.2
2
+
3
+ phases :
4
+ install :
5
+ runtime-versions :
6
+ java : " $JAVA_RUNTIME"
7
+
8
+ build :
9
+ commands :
10
+ - mvn clean install -P endpoint-tests -T1C $MAVEN_OPTIONS
11
+ finally :
12
+ - mkdir -p codebuild-test-reports
13
+ - find ./ -name 'TEST-*.xml' -type f -exec cp {} codebuild-test-reports/ \;
14
+ reports :
15
+ IntegTests :
16
+ files :
17
+ - ' codebuild-test-reports/**/*'
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ Resources:
56
56
- !Sub arn:aws:codebuild:${ AWS::Region }:${ AWS::AccountId }:project/aws-sdk-java-v2-JDK8-windows
57
57
- !Sub arn:aws:codebuild:${ AWS::Region }:${ AWS::AccountId }:project/aws-sdk-java-v2-native-image-test
58
58
- !Sub arn:aws:codebuild:${ AWS::Region }:${ AWS::AccountId }:project/aws-sdk-java-v2-sonar
59
+ - !Sub arn:aws:codebuild:${ AWS::Region }:${ AWS::AccountId }:project/aws-sdk-java-v2-endpoints-test
59
60
- Effect : Allow
60
61
Action :
61
62
- logs:GetLogEvents
@@ -67,6 +68,7 @@ Resources:
67
68
- !Sub arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/codebuild/aws-sdk-java-v2-JDK8-windows:*
68
69
- !Sub arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/codebuild/aws-sdk-java-v2-native-image-test:*
69
70
- !Sub arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/codebuild/aws-sdk-java-v2-sonar:*
71
+ - !Sub arn:aws:logs:${AWS::Region}:${AWS::AccountId}:log-group:/aws/codebuild/aws-sdk-java-v2-endpoints-test:*
70
72
71
73
GithubOidc :
72
74
Type : AWS::IAM::OIDCProvider
Original file line number Diff line number Diff line change 270
270
<exclude >**/*IntegrationTests.java</exclude >
271
271
<exclude >**/*IntegTest.java</exclude >
272
272
<exclude >**/*IntegrationTestCase.java</exclude >
273
+ <exclude >**/*ClientEndpointTests.java</exclude >
274
+ <exclude >**/*EndpointProviderTests.java</exclude >
273
275
</excludes >
274
276
<includes >
275
277
<include >**/Test*.java</include >
You can’t perform that action at this time.
0 commit comments