-
Notifications
You must be signed in to change notification settings - Fork 11
/
project.yml
235 lines (235 loc) · 6.23 KB
/
project.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
name: eRp-App
options:
bundleIdPrefix: de.gematik.erp4ios.eRezept
createIntermediateGroups: true
developmentLanguage: en-GB
useBaseInternationalization: false
deploymentTarget:
macOS: 13.0
iOS: 16.0
schemes:
UITests_iOS:
build:
targets:
eRpApp: all
run:
environmentVariables:
- variable: UITEST.RECORD_MOCKS
value: 1
isEnabled: false
- variable: UITEST.RESET
value: 1
isEnabled: false
- variable: UITEST.DISABLE_ANIMATIONS
value: YES
isEnabled: false
- variable: UITEST.DISABLE_AUTHENTICATION
value: YES
isEnabled: false
- variable: UITEST.SCENARIO_NAME
value: <SCENARIO>UITests
isEnabled: false
test:
language: de
region: DE
gatherCoverageData: true
coverageTargets:
- eRpApp
targets:
- eRpAppUITests
testPlans:
- path: Tests/eRpAppUITests/Support/UITests_iOS.xctestplan
defaultPlan: true
AllTests_iOS:
build:
targets:
eRpApp: all
test:
language: de
region: DE
gatherCoverageData: true
coverageTargets:
- eRpApp
targets:
- eRpAppTests
- eRpAppStoreScreenshots
- package: eRpKit/eRpFeaturesTests
- package: eRpKit/eRpStyleKitTests
- package: eRpKit/eRpKitTests
- package: eRpKit/eRpLocalStorageTests
- package: eRpKit/eRpRemoteStorageTests
- package: eRpKit/PharmacyTests
- package: eRpKit/IDPTests
- package: eRpKit/HTTPClientTests
- package: eRpKit/FHIRClientTests
- package: eRpKit/TrustStoreTests
- package: eRpKit/VAUClientTests
- package: eRpKit/AVSTests
AllTests_macOS:
build:
targets:
eRpDummy_macOS: test
test:
language: de
region: DE
gatherCoverageData: true
targets:
- package: eRpKit/eRpKitTests
- package: eRpKit/eRpLocalStorageTests
- package: eRpKit/eRpRemoteStorageTests
- package: eRpKit/PharmacyTests
- package: eRpKit/IDPTests
- package: eRpKit/HTTPClientTests
- package: eRpKit/FHIRClientTests
- package: eRpKit/TrustStoreTests
- package: eRpKit/VAUClientTests
AllIntegrationTests_iOS:
build:
targets:
IntegrationTests_iOS: test
test:
language: de
region: DE
targets:
- IntegrationTests_iOS
environmentVariables:
- variable: APP_CONF
value: $(APP_CONF)
isEnabled: true
StoreScreenshots_iOS:
build:
targets:
IntegrationTests_iOS: test
test:
language: de
region: DE
targets:
- eRpAppStoreScreenshots
packages:
eRpKit:
path: ./
Nimble:
url: https://github.com/Quick/Nimble
majorVersion: 13.0.0
SnapshotTesting:
url: https://github.com/pointfreeco/swift-snapshot-testing
majorVersion: 1.16.2
settings:
base:
# for DISABLE_DIAMOND_PROBLEM_DIAGNOSTIC see: https://developer.apple.com/forums/thread/128806
DISABLE_DIAMOND_PROBLEM_DIAGNOSTIC: 1
CURRENT_PROJECT_VERSION: -1
CODE_SIGN_IDENTITY: ""
SWIFT_VERSION: 5.9
ALWAYS_SEARCH_USER_PATHS: NO
FRAMEWORK_SEARCH_PATHS: "$(inherited)"
SWIFT_STRICT_CONCURRENCY: complete
configs:
Release:
SWIFT_COMPILATION_MODE: wholemodule
Debug:
SWIFT_COMPILATION_MODE: incremental
targets:
eRpDummy:
type: framework
platform: [macOS]
sources:
- Sources/eRpApp/Common/ProgressResponse.swift
eRpApp:
type: application
platform: iOS
preBuildScripts:
- script: "mint run swiftgen"
name: Swiftgen
shell: "/bin/sh -l"
# basedOnDependencyAnalysis: false
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: ${GEM_PRODUCT_BUNDLE_IDENTIFIER}
TARGETED_DEVICE_FAMILY: 1
configFiles:
Debug: App/Sources/Resources/debug.xcconfig
Release: App/Sources/Resources/release.xcconfig
sources:
- path: App/Sources
excludes:
- "Package.swift"
dependencies:
- package: eRpKit
product: eRpFeatures
scheme:
language: de
region: DE
testTargets:
- eRpAppTests
gatherCoverageData: false
eRpAppTests:
type: bundle.unit-test
platform: iOS
settings:
INFOPLIST_FILE: App/Tests/Resources/Info.plist
sources:
- path: App/Tests
dependencies:
- target: eRpApp
- package: eRpKit
product: eRpFeatures
- package: eRpKit
product: TestUtils
- package: Nimble
eRpAppUITests:
type: bundle.ui-testing
platform: iOS
settings:
INFOPLIST_FILE: Tests/eRpAppUITests/Support/Info.plist
PRODUCT_BUNDLE_IDENTIFIER: de.gematik.eRpAppUITests
DEVELOPMENT_TEAM: A9FL89PFFL
CODE_SIGN_STYLE: Automatic
CODE_SIGN_IDENTITY: Apple Development
sources:
- path: Tests/eRpAppUITests/Support/empty.xcappdata
buildPhase: none
type: file
- path: Tests/eRpAppUITests/Support/UITests_iOS.xctestplan
buildPhase: none
- path: Tests/eRpAppUITests/Support/Info.plist
buildPhase: none
- path: Tests/eRpAppUITests/Tests
- path: Sources/eRpApp/Generated/Accessibility+Generated.swift
dependencies:
- target: eRpApp
- package: eRpKit
product: eRpFeatures
- package: Nimble
- package: SnapshotTesting
eRpAppStoreScreenshots:
type: bundle.unit-test
platform: iOS
settings:
INFOPLIST_FILE: Tests/eRpAppStoreScreenshots/Resources/Info.plist
sources:
- path: Tests/eRpAppStoreScreenshots
excludes:
- "**/__Snapshots__/**"
dependencies:
- package: eRpKit
product: eRpFeatures
- package: eRpKit
product: TestUtils
- package: Nimble
- package: SnapshotTesting
IntegrationTests:
type: bundle.unit-test
platform: [iOS]
settings:
INFOPLIST_FILE: Tests/IntegrationTests/Resources/Info.plist
sources:
- Tests/IntegrationTests
dependencies:
- target: eRpApp
- package: eRpKit
product: eRpFeatures
- package: eRpKit
product: TestUtils
- package: Nimble
buildImplicitDependencies: true