@@ -30,35 +30,60 @@ jobs:
3030 aws_s3_bucket : ${{ secrets.AWS_S3_BUCKET_INTEG }}
3131
3232 api-functional-test :
33- continue-on-error : true
34- needs : prepare-for-test
35- runs-on : macos-12
36- environment : IntegrationTest
37- steps :
38- - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
39- with :
40- persist-credentials : false
41-
42- - name : Make directory
43- run : mkdir -p ~/.aws-amplify/amplify-ios/testconfiguration/
44-
45- - name : Copy integration test resouces
46- uses : ./.github/composite_actions/download_test_configuration
47- with :
48- resource_subfolder : api
49- aws_role_to_assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
50- aws_region : ${{ secrets.AWS_REGION }}
51- aws_s3_bucket : ${{ secrets.AWS_S3_BUCKET_INTEG }}
52-
53- - name : Run Integration test
54- uses : ./.github/composite_actions/run_xcodebuild_test
55- with :
56- project_path : ./AmplifyPlugins/API/Tests/APIHostApp
57- scheme : AWSAPIPluginFunctionalTests
33+ needs : prepare-for-test
34+ runs-on : macos-12
35+ environment : IntegrationTest
36+ steps :
37+ - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
38+ with :
39+ persist-credentials : false
40+
41+ - name : Make directory
42+ run : mkdir -p ~/.aws-amplify/amplify-ios/testconfiguration/
43+
44+ - name : Copy integration test resouces
45+ uses : ./.github/composite_actions/download_test_configuration
46+ with :
47+ resource_subfolder : api
48+ aws_role_to_assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
49+ aws_region : ${{ secrets.AWS_REGION }}
50+ aws_s3_bucket : ${{ secrets.AWS_S3_BUCKET_INTEG }}
51+
52+ - name : Run Integration test
53+ uses : ./.github/composite_actions/run_xcodebuild_test
54+ with :
55+ project_path : ./AmplifyPlugins/API/Tests/APIHostApp
56+ scheme : AWSAPIPluginFunctionalTests
5857
58+ api-graphql-user-pool-test :
59+ if : ${{ false }}
60+ needs : prepare-for-test
61+ runs-on : macos-12
62+ environment : IntegrationTest
63+ steps :
64+ - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
65+ with :
66+ persist-credentials : false
67+
68+ - name : Make directory
69+ run : mkdir -p ~/.aws-amplify/amplify-ios/testconfiguration/
70+
71+ - name : Copy integration test resouces
72+ uses : ./.github/composite_actions/download_test_configuration
73+ with :
74+ resource_subfolder : api
75+ aws_role_to_assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
76+ aws_region : ${{ secrets.AWS_REGION }}
77+ aws_s3_bucket : ${{ secrets.AWS_S3_BUCKET_INTEG }}
78+
79+ - name : Run Integration test
80+ uses : ./.github/composite_actions/run_xcodebuild_test
81+ with :
82+ project_path : ./AmplifyPlugins/API/Tests/APIHostApp
83+ scheme : AWSAPIPluginGraphQLUserPoolTests
84+
5985 api-graphql-iam-test :
6086 if : ${{ false }}
61- continue-on-error : true
6287 needs : prepare-for-test
6388 runs-on : macos-12
6489 environment : IntegrationTest
@@ -82,4 +107,111 @@ jobs:
82107 uses : ./.github/composite_actions/run_xcodebuild_test
83108 with :
84109 project_path : ./AmplifyPlugins/API/Tests/APIHostApp
85- scheme : AWSAPIPluginGraphQLIAMTests
110+ scheme : AWSAPIPluginGraphQLIAMTests
111+
112+ api-graphql-lambda-auth-test :
113+ needs : prepare-for-test
114+ runs-on : macos-12
115+ environment : IntegrationTest
116+ steps :
117+ - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
118+ with :
119+ persist-credentials : false
120+
121+ - name : Make directory
122+ run : mkdir -p ~/.aws-amplify/amplify-ios/testconfiguration/
123+
124+ - name : Copy integration test resouces
125+ uses : ./.github/composite_actions/download_test_configuration
126+ with :
127+ resource_subfolder : api
128+ aws_role_to_assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
129+ aws_region : ${{ secrets.AWS_REGION }}
130+ aws_s3_bucket : ${{ secrets.AWS_S3_BUCKET_INTEG }}
131+
132+ - name : Run Integration test
133+ uses : ./.github/composite_actions/run_xcodebuild_test
134+ with :
135+ project_path : ./AmplifyPlugins/API/Tests/APIHostApp
136+ scheme : AWSAPIPluginGraphQLLambdaAuthTests
137+
138+ api-lazy-load-test :
139+ if : ${{ false }}
140+ needs : prepare-for-test
141+ runs-on : macos-12
142+ environment : IntegrationTest
143+ steps :
144+ - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
145+ with :
146+ persist-credentials : false
147+
148+ - name : Make directory
149+ run : mkdir -p ~/.aws-amplify/amplify-ios/testconfiguration/
150+
151+ - name : Copy integration test resouces
152+ uses : ./.github/composite_actions/download_test_configuration
153+ with :
154+ resource_subfolder : api
155+ aws_role_to_assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
156+ aws_region : ${{ secrets.AWS_REGION }}
157+ aws_s3_bucket : ${{ secrets.AWS_S3_BUCKET_INTEG }}
158+
159+ - name : Run Integration test
160+ uses : ./.github/composite_actions/run_xcodebuild_test
161+ with :
162+ project_path : ./AmplifyPlugins/API/Tests/APIHostApp
163+ scheme : AWSAPIPluginLazyLoadTests
164+
165+ api-rest-user-pool-test :
166+ if : ${{ false }}
167+ needs : prepare-for-test
168+ runs-on : macos-12
169+ environment : IntegrationTest
170+ steps :
171+ - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
172+ with :
173+ persist-credentials : false
174+
175+ - name : Make directory
176+ run : mkdir -p ~/.aws-amplify/amplify-ios/testconfiguration/
177+
178+ - name : Copy integration test resouces
179+ uses : ./.github/composite_actions/download_test_configuration
180+ with :
181+ resource_subfolder : api
182+ aws_role_to_assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
183+ aws_region : ${{ secrets.AWS_REGION }}
184+ aws_s3_bucket : ${{ secrets.AWS_S3_BUCKET_INTEG }}
185+
186+ - name : Run Integration test
187+ uses : ./.github/composite_actions/run_xcodebuild_test
188+ with :
189+ project_path : ./AmplifyPlugins/API/Tests/APIHostApp
190+ scheme : AWSAPIPluginRESTUserPoolTests
191+
192+ api-rest-iam-test :
193+ if : ${{ false }}
194+ needs : prepare-for-test
195+ runs-on : macos-12
196+ environment : IntegrationTest
197+ steps :
198+ - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
199+ with :
200+ persist-credentials : false
201+
202+ - name : Make directory
203+ run : mkdir -p ~/.aws-amplify/amplify-ios/testconfiguration/
204+
205+ - name : Copy integration test resouces
206+ uses : ./.github/composite_actions/download_test_configuration
207+ with :
208+ resource_subfolder : api
209+ aws_role_to_assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
210+ aws_region : ${{ secrets.AWS_REGION }}
211+ aws_s3_bucket : ${{ secrets.AWS_S3_BUCKET_INTEG }}
212+
213+ - name : Run Integration test
214+ uses : ./.github/composite_actions/run_xcodebuild_test
215+ with :
216+ project_path : ./AmplifyPlugins/API/Tests/APIHostApp
217+ scheme : AWSAPIPluginRESTIAMTests
0 commit comments