-
Notifications
You must be signed in to change notification settings - Fork 200
124 lines (107 loc) · 3.52 KB
/
unit_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
name: Unit Tests
on:
workflow_call:
workflow_dispatch:
push:
branches-ignore:
- v1
- release-v1
permissions:
contents: read
jobs:
unit-test-aws-plugins-core:
runs-on: macos-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
persist-credentials: false
- name: Unit Test AWSPluginsCore
uses: ./.github/composite_actions/run_xcodebuild_test
with:
project_path: .
workspace: Amplify.xcworkspace
scheme: AWSPluginsCore
unit-test-analytics:
runs-on: macos-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
persist-credentials: false
- name: Unit Test Analytics
uses: ./.github/composite_actions/run_xcodebuild_test
with:
project_path: ./AmplifyPlugins/Analytics/
workspace: AnalyticsCategoryPlugin.xcworkspace
scheme: AWSPinpointAnalyticsPlugin
unit-test-api:
runs-on: macos-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
persist-credentials: false
- name: Unit Test API
uses: ./.github/composite_actions/run_xcodebuild_test
with:
project_path: ./AmplifyPlugins/API/
workspace: APICategoryPlugin.xcworkspace
scheme: AWSAPICategoryPlugin
unit-test-auth:
runs-on: macos-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
persist-credentials: false
- name: Unit Test Auth
uses: ./.github/composite_actions/run_xcodebuild_test
with:
project_path: ./AmplifyPlugins/Auth/
workspace: AWSCognitoAuthPlugin.xcworkspace
scheme: AWSCognitoAuthPlugin
unit-test-datastore:
runs-on: macos-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
persist-credentials: false
- name: Unit Test DataStore
uses: ./.github/composite_actions/run_xcodebuild_test
with:
project_path: ./AmplifyPlugins/DataStore/
workspace: DataStoreCategoryPlugin.xcworkspace
scheme: AWSDataStoreCategoryPlugin
unit-test-geo:
runs-on: macos-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
persist-credentials: false
- name: Unit Test Geo
uses: ./.github/composite_actions/run_xcodebuild_test
with:
project_path: ./AmplifyPlugins/Geo/
workspace: GeoCategoryPlugin.xcworkspace
scheme: AWSLocationGeoPlugin
unit-test-predictions:
runs-on: macos-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
persist-credentials: false
- name: Unit Test Predictions
uses: ./.github/composite_actions/run_xcodebuild_test
with:
project_path: ./AmplifyPlugins/Predictions/
workspace: PredictionsCategoryPlugin.xcworkspace
scheme: CoreMLPredictionsPlugin
unit-test-storage:
runs-on: macos-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
persist-credentials: false
- name: Unit Test Auth
uses: ./.github/composite_actions/run_xcodebuild_test
with:
project_path: ./AmplifyPlugins/Storage/
workspace: StoragePlugin.xcworkspace
scheme: AWSS3StoragePlugin