@@ -29,25 +29,26 @@ jobs:
29
29
submit_coverage_report : false
30
30
31
31
unit-tests-with-coverage :
32
- name : ${{ matrix.scheme }} Unit Tests
32
+ name : ${{ matrix.scheme.name }} Unit Tests
33
33
strategy :
34
34
fail-fast : false
35
35
matrix :
36
36
scheme : [
37
- Amplify,
38
- AWSPluginsCore,
39
- AWSAPIPlugin,
40
- AWSCloudWatchLoggingPlugin,
41
- AWSCognitoAuthPlugin,
42
- AWSDataStorePlugin,
43
- AWSLocationGeoPlugin,
44
- AWSPredictionsPlugin,
45
- AWSPinpointAnalyticsPlugin,
46
- AWSPinpointPushNotificationsPlugin,
47
- AWSS3StoragePlugin,
48
- CoreMLPredictionsPlugin
37
+ { name: Amplify, flags: 'Amplify,unit_tests' } ,
38
+ { name: AWSPluginsCore, flags: 'AWSPluginsCore,unit_tests' } ,
39
+ { name: AWSAPIPlugin, flags: 'API_plugin_unit_test,unit_tests' } ,
40
+ { name: AWSCloudWatchLoggingPlugin, flags: 'Logging_plugin_unit_test,unit_tests' } ,
41
+ { name: AWSCognitoAuthPlugin, flags: 'Auth_plugin_unit_test,unit_tests' } ,
42
+ { name: AWSDataStorePlugin, flags: 'DataStore_plugin_unit_test,unit_tests' } ,
43
+ { name: AWSLocationGeoPlugin, flags: 'Geo_plugin_unit_test,unit_tests' } ,
44
+ { name: AWSPredictionsPlugin, flags: 'Predictions_plugin_unit_test,unit_tests' } ,
45
+ { name: AWSPinpointAnalyticsPlugin, flags: 'Analytics_plugin_unit_test,unit_tests' } ,
46
+ { name: AWSPinpointPushNotificationsPlugin, flags: 'PushNotifications_plugin_unit_test,unit_tests' } ,
47
+ { name: AWSS3StoragePlugin, flags: 'Storage_plugin_unit_test,unit_tests' } ,
48
+ { name: CoreMLPredictionsPlugin, flags: 'CoreMLPredictions_plugin_unit_test,unit_tests' }
49
49
]
50
50
uses : ./.github/workflows/run_xcodebuild_test_platforms.yml
51
51
with :
52
- scheme : ${{ matrix.scheme }}
52
+ scheme : ${{ matrix.scheme.name }}
53
53
submit_coverage_report : true
54
+ coverage_flags : ${{ matrix.scheme.flags }}
0 commit comments