Stop running UI tests in CI
This commit is contained in:
parent
891d499ee4
commit
e6dd6889bb
|
|
@ -1,7 +1,7 @@
|
|||
PODS:
|
||||
- AppSwizzle (1.3.1)
|
||||
- ReCaptcha/Core (1.4.1)
|
||||
- ReCaptcha/RxSwift (1.4.1):
|
||||
- ReCaptcha/Core (1.4.2)
|
||||
- ReCaptcha/RxSwift (1.4.2):
|
||||
- ReCaptcha/Core
|
||||
- RxSwift (~> 4.3)
|
||||
- RxAtomic (4.4.0)
|
||||
|
|
@ -36,7 +36,7 @@ EXTERNAL SOURCES:
|
|||
|
||||
SPEC CHECKSUMS:
|
||||
AppSwizzle: db36e436f56110d93e5ae0147683435df593cabc
|
||||
ReCaptcha: 520a707a38dfbb1e5de812aa3c041df60bd31827
|
||||
ReCaptcha: 9a0e1c02a9db9dface31cca63515e28fc3ed6ba8
|
||||
RxAtomic: eacf60db868c96bfd63320e28619fe29c179656f
|
||||
RxBlocking: 138ad53217434444d6eeeb4fb406a45431d92e31
|
||||
RxCocoa: df63ebf7b9a70d6b4eeea407ed5dd4efc8979749
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
</BuildableReference>
|
||||
</TestableReference>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
skipped = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "F28FAC9B200E425600E14987"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,90 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0910"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "NO"
|
||||
buildForArchiving = "NO"
|
||||
buildForAnalyzing = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "F28FAC9B200E425600E14987"
|
||||
BuildableName = "ReCaptcha_UITests.xctest"
|
||||
BlueprintName = "ReCaptcha_UITests"
|
||||
ReferencedContainer = "container:ReCaptcha.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "F28FAC9B200E425600E14987"
|
||||
BuildableName = "ReCaptcha_UITests.xctest"
|
||||
BlueprintName = "ReCaptcha_UITests"
|
||||
ReferencedContainer = "container:ReCaptcha.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "F28FAC9B200E425600E14987"
|
||||
BuildableName = "ReCaptcha_UITests.xctest"
|
||||
BlueprintName = "ReCaptcha_UITests"
|
||||
ReferencedContainer = "container:ReCaptcha.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "F28FAC9B200E425600E14987"
|
||||
BuildableName = "ReCaptcha_UITests.xctest"
|
||||
BlueprintName = "ReCaptcha_UITests"
|
||||
ReferencedContainer = "container:ReCaptcha.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
|
|
@ -10,10 +10,10 @@ default_platform :ios
|
|||
platform :ios do
|
||||
skip_docs
|
||||
|
||||
devices = ["iPhone XR (~> 12)"]
|
||||
devices << "iPhone X (~> 11)" if !Helper.is_ci?
|
||||
devices << "iPhone 7 (~> 10)" if !Helper.is_ci?
|
||||
devices << "iPhone 6s (~> 9)" if !Helper.is_ci?
|
||||
devices = ["iPhone X (~> 12)"]
|
||||
# devices << "iPhone X (~> 11)" if !Helper.is_ci?
|
||||
# devices << "iPhone 7 (~> 10)" if !Helper.is_ci?
|
||||
# devices << "iPhone 6s (~> 9)" if !Helper.is_ci?
|
||||
|
||||
desc "Runs the following lanes:\n- test\n- pod_lint\n- carthage_lint"
|
||||
lane :ci do
|
||||
|
|
@ -57,12 +57,21 @@ platform :ios do
|
|||
code_coverage: true,
|
||||
)
|
||||
|
||||
if is_ci
|
||||
if Helper.is_ci?
|
||||
codecov(
|
||||
project_name: 'ReCaptcha',
|
||||
use_xcodeplist: true,
|
||||
)
|
||||
else
|
||||
puts "Running UI Tests"
|
||||
scan(
|
||||
test_without_building: true,
|
||||
devices: self.select_similar_simulator(devices),
|
||||
scheme: "ReCaptcha_UITests",
|
||||
workspace: "Example/ReCaptcha.xcworkspace",
|
||||
code_coverage: true,
|
||||
)
|
||||
|
||||
puts "Not CI: Skipping coverage files upload"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue