Skip to content

Commit

Permalink
test: Add UITest to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziodemaria committed Jul 3, 2024
1 parent cefef84 commit 863eb3e
Show file tree
Hide file tree
Showing 23 changed files with 694 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ jobs:
CLIENT_TOKEN: ${{ secrets.CONFIDENCE_CLIENT_TOKEN }}
run: scripts/run_tests.sh $CLIENT_TOKEN

UITests:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: webfactory/ssh-agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SDK_REPO_PRIVATE_KEY }}
- name: Build and UITest
env:
CLIENT_TOKEN: ${{ secrets.CONFIDENCE_CLIENT_TOKEN }}
run: ConfidenceDemoApp/scripts/run_tests.sh $CLIENT_TOKEN

SwiftLint:
runs-on: ubuntu-latest
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"" : {
"const-values" : "/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/ConfidenceDemoApp-master.swiftconstvalues",
"dependencies" : "/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/ConfidenceDemoApp-master.d",
"diagnostics" : "/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/ConfidenceDemoApp-master.dia",
"emit-module-dependencies" : "/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/ConfidenceDemoApp-master-emit-module.d",
"emit-module-diagnostics" : "/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/ConfidenceDemoApp-master-emit-module.dia",
"swift-dependencies" : "/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/ConfidenceDemoApp-master.swiftdeps"
},
"/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/DerivedSources/GeneratedAssetSymbols.swift" : {
"index-unit-output-path" : "/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/GeneratedAssetSymbols.o",
"llvm-bc" : "/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/GeneratedAssetSymbols.bc",
"object" : "/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/GeneratedAssetSymbols.o"
},
"/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/ConfidenceDemoApp/ConfidenceDemoApp.swift" : {
"index-unit-output-path" : "/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/ConfidenceDemoApp.o",
"llvm-bc" : "/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/ConfidenceDemoApp.bc",
"object" : "/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/ConfidenceDemoApp.o"
},
"/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/ConfidenceDemoApp/ContentView.swift" : {
"index-unit-output-path" : "/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/ContentView.o",
"llvm-bc" : "/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/ContentView.bc",
"object" : "/Users/fdema/Developer/github/confidence-sdk-swift/ConfidenceDemoApp/build/ConfidenceDemoApp.build/Release-iphoneos/ConfidenceDemoApp.build/Objects-normal/arm64/ContentView.o"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Apply/CacheData.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Apply/CacheDataActor.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Apply/CacheDataInteractor.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Apply/FlagApplier.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Apply/FlagApplierWithRetries.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Apply/FlagApply.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Apply/FlagApplyStatus.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Apply/ResolveApply.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Array+Chunks.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Backport.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/BaseUrlMapper.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/BufferedPassthroughSubject.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/CaseIterableDefaultsLast.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Confidence.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ConfidenceAppLifecycleProducer.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ConfidenceClient.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ConfidenceClientOptions.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ConfidenceContextProvider.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ConfidenceError.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ConfidenceEventSender.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ConfidenceMetadata.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ConfidenceProducer.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ConfidenceRegion.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ConfidenceScreenTracker.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ConfidenceValue.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ConfidenceValueHash.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/DebugLogger.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/DefaultStorage.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/EventSenderEngine.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/EventStorage.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/EventStorageInMemory.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/FlagEvaluation.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/FlagPath.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Http/HttpClient.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Http/HttpStatusCode.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Http/NetworkClient.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Http/Retry.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/HttpStatusCode+Error.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/InitializationStrategy.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/ManualFlushPolicy.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/NetowrkValue.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/PayloadMerger.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/RemoteConfidenceClient.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/RemoteResolveConfidenceClient.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Resolver.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Sdk.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/SizeFlushPolicy.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/Storage.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/StructFlagSchema.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/TestHelpers/Extensions.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/TestHelpers/GrpcStatusCode.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/TypeMapper.swift
/Users/fdema/Developer/github/confidence-sdk-swift/Sources/Confidence/VisitorUtil.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"" : {
"const-values" : "/Users/fdema/Developer/github/confidence-sdk-swift/build/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/ConfidenceProvider-master.swiftconstvalues",
"dependencies" : "/Users/fdema/Developer/github/confidence-sdk-swift/build/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/ConfidenceProvider-master.d",
"diagnostics" : "/Users/fdema/Developer/github/confidence-sdk-swift/build/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/ConfidenceProvider-master.dia",
"emit-module-dependencies" : "/Users/fdema/Developer/github/confidence-sdk-swift/build/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/ConfidenceProvider-master-emit-module.d",
"emit-module-diagnostics" : "/Users/fdema/Developer/github/confidence-sdk-swift/build/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/ConfidenceProvider-master-emit-module.dia",
"swift-dependencies" : "/Users/fdema/Developer/github/confidence-sdk-swift/build/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/ConfidenceProvider-master.swiftdeps"
},
"/Users/fdema/Developer/github/confidence-sdk-swift/Sources/ConfidenceProvider/ConfidenceFeatureProvider.swift" : {
"index-unit-output-path" : "/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/ConfidenceFeatureProvider.o",
"llvm-bc" : "/Users/fdema/Developer/github/confidence-sdk-swift/build/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/ConfidenceFeatureProvider.bc",
"object" : "/Users/fdema/Developer/github/confidence-sdk-swift/build/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/ConfidenceFeatureProvider.o"
},
"/Users/fdema/Developer/github/confidence-sdk-swift/Sources/ConfidenceProvider/ConfidenceTypeMapper.swift" : {
"index-unit-output-path" : "/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/ConfidenceTypeMapper.o",
"llvm-bc" : "/Users/fdema/Developer/github/confidence-sdk-swift/build/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/ConfidenceTypeMapper.bc",
"object" : "/Users/fdema/Developer/github/confidence-sdk-swift/build/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/ConfidenceTypeMapper.o"
},
"/Users/fdema/Developer/github/confidence-sdk-swift/Sources/ConfidenceProvider/UnfairLock.swift" : {
"index-unit-output-path" : "/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/UnfairLock.o",
"llvm-bc" : "/Users/fdema/Developer/github/confidence-sdk-swift/build/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/UnfairLock.bc",
"object" : "/Users/fdema/Developer/github/confidence-sdk-swift/build/Confidence.build/Release-iphoneos/ConfidenceProvider.build/Objects-normal/arm64/UnfairLock.o"
}
}
Loading

0 comments on commit 863eb3e

Please sign in to comment.