Skip to content

Commit dc07238

Browse files
authored
chore: enable integ workflow and disable specific steps (#1940)
* chore(datastore): integration v2 test in workflow * run tests * test skip api integ * skip most except for geo and analytics * run on this branch * test continue on error for datastore integ * continue if fail for most base tests (storage/auth) * Update integ_test.yml
1 parent 8c33679 commit dc07238

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

.github/workflows/integ_test.yml

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
scheme: AWSPinpointAnalyticsPluginIntegrationTests
5757

5858
api-integration-test:
59+
continue-on-error: true
5960
needs: prepare-for-test
6061
runs-on: macos-latest
6162
environment: IntegrationTest
@@ -83,6 +84,7 @@ jobs:
8384
scheme: AWSAPICategoryPluginFunctionalTests
8485

8586
api-graphqliam-integration-test:
87+
if: ${{ false }}
8688
needs: [api-integration-test]
8789
runs-on: macos-latest
8890
environment: IntegrationTest
@@ -110,6 +112,7 @@ jobs:
110112
scheme: GraphQLWithIAMIntegrationTests
111113

112114
api-graphqluserpool-integration-test:
115+
if: ${{ false }}
113116
needs: [api-integration-test]
114117
runs-on: macos-latest
115118
environment: IntegrationTest
@@ -137,6 +140,7 @@ jobs:
137140
scheme: GraphQLWithUserPoolIntegrationTests
138141

139142
api-restiam-integration-test:
143+
if: ${{ false }}
140144
needs: [api-integration-test]
141145
runs-on: macos-latest
142146
environment: IntegrationTest
@@ -164,6 +168,7 @@ jobs:
164168
scheme: RESTWithIAMIntegrationTests
165169

166170
api-restuserpool-integration-test:
171+
if: ${{ false }}
167172
needs: [api-integration-test]
168173
runs-on: macos-latest
169174
environment: IntegrationTest
@@ -191,6 +196,7 @@ jobs:
191196
scheme: RESTWithUserPoolIntegrationTests
192197

193198
api-graphqllambda-integration-test:
199+
if: ${{ false }}
194200
needs: [api-integration-test]
195201
runs-on: macos-latest
196202
environment: IntegrationTest
@@ -218,6 +224,7 @@ jobs:
218224
scheme: GraphQLWithLambdaAuthIntegrationTests
219225

220226
auth-integration-test:
227+
continue-on-error: true
221228
needs: prepare-for-test
222229
runs-on: macos-latest
223230
environment: IntegrationTest
@@ -245,6 +252,7 @@ jobs:
245252
scheme: AWSCognitoAuthPluginIntegrationTests
246253

247254
datastore-integration-test:
255+
continue-on-error: true
248256
needs: prepare-for-test
249257
runs-on: macos-latest
250258
environment: IntegrationTest
@@ -271,6 +279,7 @@ jobs:
271279
workspace: DataStoreCategoryPlugin.xcworkspace
272280
scheme: AWSDataStoreCategoryPluginIntegrationTests
273281
datastore-integration-hub-test:
282+
if: ${{ false }}
274283
needs: [datastore-integration-test]
275284
runs-on: macos-latest
276285
environment: IntegrationTest
@@ -297,6 +306,7 @@ jobs:
297306
workspace: DataStoreCategoryPlugin.xcworkspace
298307
scheme: AWSDataStoreIntegrationHubTests
299308
datastore-integration-local-test:
309+
continue-on-error: true
300310
needs: [datastore-integration-test]
301311
runs-on: macos-latest
302312
environment: IntegrationTest
@@ -324,6 +334,7 @@ jobs:
324334
scheme: AWSDataStoreIntegrationLocalTests
325335

326336
datastore-integration-V1-S1-test:
337+
continue-on-error: true
327338
needs: [datastore-integration-test]
328339
runs-on: macos-latest
329340
environment: IntegrationTest
@@ -350,6 +361,7 @@ jobs:
350361
workspace: DataStoreCategoryPlugin.xcworkspace
351362
scheme: AWSDataStoreIntegrationV1Scenario1Tests
352363
datastore-integration-V1-S2-test:
364+
if: ${{ false }}
353365
needs: [datastore-integration-test]
354366
runs-on: macos-latest
355367
environment: IntegrationTest
@@ -376,6 +388,7 @@ jobs:
376388
workspace: DataStoreCategoryPlugin.xcworkspace
377389
scheme: AWSDataStoreIntegrationV1Scenario2Tests
378390
datastore-integration-V1-S3-test:
391+
if: ${{ false }}
379392
needs: [datastore-integration-test]
380393
runs-on: macos-latest
381394
environment: IntegrationTest
@@ -402,6 +415,7 @@ jobs:
402415
workspace: DataStoreCategoryPlugin.xcworkspace
403416
scheme: AWSDataStoreIntegrationV1Scenario3Tests
404417
datastore-integration-V1-S4-test:
418+
if: ${{ false }}
405419
needs: [datastore-integration-test]
406420
runs-on: macos-latest
407421
environment: IntegrationTest
@@ -428,6 +442,7 @@ jobs:
428442
workspace: DataStoreCategoryPlugin.xcworkspace
429443
scheme: AWSDataStoreIntegrationV1Scenario4Tests
430444
datastore-integration-V1-S5-test:
445+
if: ${{ false }}
431446
needs: [datastore-integration-test]
432447
runs-on: macos-latest
433448
environment: IntegrationTest
@@ -454,6 +469,7 @@ jobs:
454469
workspace: DataStoreCategoryPlugin.xcworkspace
455470
scheme: AWSDataStoreIntegrationV1Scenario5Tests
456471
datastore-integration-V1-S6-test:
472+
if: ${{ false }}
457473
needs: [datastore-integration-test]
458474
runs-on: macos-latest
459475
environment: IntegrationTest
@@ -480,6 +496,7 @@ jobs:
480496
workspace: DataStoreCategoryPlugin.xcworkspace
481497
scheme: AWSDataStoreIntegrationV1Scenario6Tests
482498
datastore-integration-V2-S1-test:
499+
if: ${{ false }}
483500
needs: [datastore-integration-test]
484501
runs-on: macos-latest
485502
environment: IntegrationTest
@@ -506,6 +523,7 @@ jobs:
506523
workspace: DataStoreCategoryPlugin.xcworkspace
507524
scheme: AWSDataStoreIntegrationV2Scenario1V2Tests
508525
datastore-integration-V2-S2-test:
526+
if: ${{ false }}
509527
needs: [datastore-integration-test]
510528
runs-on: macos-latest
511529
environment: IntegrationTest
@@ -532,6 +550,7 @@ jobs:
532550
workspace: DataStoreCategoryPlugin.xcworkspace
533551
scheme: AWSDataStoreIntegrationV2Scenario2V2Tests
534552
datastore-integration-V2-S3a-test:
553+
if: ${{ false }}
535554
needs: [datastore-integration-test]
536555
runs-on: macos-latest
537556
environment: IntegrationTest
@@ -558,6 +577,7 @@ jobs:
558577
workspace: DataStoreCategoryPlugin.xcworkspace
559578
scheme: AWSDataStoreIntegrationV2Scenario3aV2Tests
560579
datastore-integration-V2-S3-test:
580+
if: ${{ false }}
561581
needs: [datastore-integration-test]
562582
runs-on: macos-latest
563583
environment: IntegrationTest
@@ -584,6 +604,7 @@ jobs:
584604
workspace: DataStoreCategoryPlugin.xcworkspace
585605
scheme: AWSDataStoreIntegrationV2Scenario3V2Tests
586606
datastore-integration-V2-S4-test:
607+
if: ${{ false }}
587608
needs: [datastore-integration-test]
588609
runs-on: macos-latest
589610
environment: IntegrationTest
@@ -610,6 +631,7 @@ jobs:
610631
workspace: DataStoreCategoryPlugin.xcworkspace
611632
scheme: AWSDataStoreIntegrationV2Scenario4V2Tests
612633
datastore-integration-V2-S5-test:
634+
if: ${{ false }}
613635
needs: [datastore-integration-test]
614636
runs-on: macos-latest
615637
environment: IntegrationTest
@@ -636,6 +658,7 @@ jobs:
636658
workspace: DataStoreCategoryPlugin.xcworkspace
637659
scheme: AWSDataStoreIntegrationV2Scenario5V2Tests
638660
datastore-integration-V2-S6-test:
661+
if: ${{ false }}
639662
needs: [datastore-integration-test]
640663
runs-on: macos-latest
641664
environment: IntegrationTest
@@ -662,6 +685,7 @@ jobs:
662685
workspace: DataStoreCategoryPlugin.xcworkspace
663686
scheme: AWSDataStoreIntegrationV2Scenario6V2Tests
664687
datastore-integration-V2-S7-test:
688+
if: ${{ false }}
665689
needs: [datastore-integration-test]
666690
runs-on: macos-latest
667691
environment: IntegrationTest
@@ -688,6 +712,7 @@ jobs:
688712
workspace: DataStoreCategoryPlugin.xcworkspace
689713
scheme: AWSDataStoreIntegrationV2Scenario7V2Tests
690714
datastore-integration-V2-S8-test:
715+
if: ${{ false }}
691716
needs: [datastore-integration-test]
692717
runs-on: macos-latest
693718
environment: IntegrationTest
@@ -714,6 +739,7 @@ jobs:
714739
workspace: DataStoreCategoryPlugin.xcworkspace
715740
scheme: AWSDataStoreIntegrationV2Scenario8V2Tests
716741
datastore-integration-V2-test:
742+
continue-on-error: true
717743
needs: [datastore-integration-test]
718744
runs-on: macos-latest
719745
environment: IntegrationTest
@@ -738,8 +764,9 @@ jobs:
738764
with:
739765
project_path: ./AmplifyPlugins/DataStore/
740766
workspace: DataStoreCategoryPlugin.xcworkspace
741-
scheme: AWSDataStoreIntegrationV2Scenario1V2Tests
767+
scheme: AWSDataStoreIntegrationV2Tests
742768
datastore-integration-observe-query-test:
769+
if: ${{ false }}
743770
needs: [datastore-integration-test]
744771
runs-on: macos-latest
745772
environment: IntegrationTest
@@ -767,6 +794,7 @@ jobs:
767794
scheme: AWSDataStoreIntegrationObserveQueryTests
768795

769796
datastore-auth-integration-test:
797+
if: ${{ false }}
770798
needs: [datastore-integration-test]
771799
runs-on: macos-latest
772800
environment: IntegrationTest
@@ -794,6 +822,7 @@ jobs:
794822
scheme: AWSDataStoreCategoryPluginAuthIntegrationTests
795823

796824
datastore-flutter-integration-test:
825+
if: ${{ false }}
797826
needs: [datastore-integration-test]
798827
runs-on: macos-latest
799828
environment: IntegrationTest
@@ -848,6 +877,7 @@ jobs:
848877
scheme: AWSLocationGeoPluginIntegrationTests
849878

850879
predictions-integration-test:
880+
continue-on-error: true
851881
needs: prepare-for-test
852882
runs-on: macos-latest
853883
environment: IntegrationTest
@@ -885,6 +915,7 @@ jobs:
885915
scheme: CoreMLPredictionsPluginIntegrationTests
886916

887917
storage-integration-test:
918+
continue-on-error: true
888919
needs: prepare-for-test
889920
runs-on: macos-latest
890921
environment: IntegrationTest
@@ -909,4 +940,4 @@ jobs:
909940
with:
910941
project_path: ./AmplifyPlugins/Storage/
911942
workspace: StoragePlugin.xcworkspace
912-
scheme: AWSS3StoragePluginFunctionalTests
943+
scheme: AWSS3StoragePluginFunctionalTests

0 commit comments

Comments
 (0)