Skip to content

Commit 2aebe9a

Browse files
authored
Add Integ tests to CodeBuild CI (#6284)
* Add Integ tests to CodeBuild CI * Don't stream logs * Integ tests only on java file changes * Move integ to separate workflow
1 parent e648519 commit 2aebe9a

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: AWS CodeBuild CI Integration Tests
2+
on:
3+
pull_request:
4+
paths:
5+
- '**/*.java'
6+
merge_group:
7+
push:
8+
branches:
9+
- master
10+
paths:
11+
- '**/*.java'
12+
13+
permissions:
14+
id-token: write
15+
16+
jobs:
17+
integration-tests:
18+
if: github.repository == 'aws/aws-sdk-java-v2'
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Configure AWS Credentials
22+
uses: aws-actions/configure-aws-credentials@v4
23+
with:
24+
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
25+
aws-region: us-west-2
26+
role-duration-seconds: 7200
27+
- name: Run Integration Test build
28+
uses: aws-actions/aws-codebuild-run-build@v1
29+
timeout-minutes: 180
30+
with:
31+
project-name: aws-sdk-java-v2-IntegrationTest-JDK8
32+
hide-cloudwatch-logs: true
33+

0 commit comments

Comments
 (0)