Skip to content

Commit ed39a21

Browse files
committed
Building new sample app and running new UI tests in CI
1 parent 9ec1996 commit ed39a21

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

.github/DangerFiles/TestOrchestrator.rb

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,22 @@
77
fail("Please re-submit this PR to the dev branch, we may have already fixed your issue.", sticky: true) if github.branch_for_base != "dev"
88

99
# List of supported xcode schemes for testing
10-
SCHEMES = ['SalesforceSDKCommon', 'SalesforceAnalytics', 'SalesforceSDKCore', 'SmartStore', 'MobileSync']
10+
SCHEMES = ['SalesforceSDKCommon', 'SalesforceAnalytics', 'SalesforceSDKCore', 'SmartStore', 'MobileSync', 'AuthFlowTester']
1111

1212
modifed_libs = Set[]
13+
1314
for file in (git.modified_files + git.added_files);
14-
scheme = file.split("libs/").last.split("/").first
15-
if SCHEMES.include?(scheme)
15+
scheme = nil
16+
17+
# Check if SDK libs are modified
18+
if file.include?("libs/")
19+
scheme = file.split("libs/").last.split("/").first
20+
# Check if sample apps are modified
21+
elsif file.include?("native/SampleApps/")
22+
scheme = file.split("native/SampleApps/").last.split("/").first
23+
end
24+
25+
if scheme && SCHEMES.include?(scheme)
1626
modifed_libs.add(scheme)
1727
end
1828
end

.github/workflows/nightly.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
lib: [SalesforceSDKCommon, SalesforceAnalytics, SalesforceSDKCore, SmartStore, MobileSync]
14+
lib: [SalesforceSDKCommon, SalesforceAnalytics, SalesforceSDKCore, SmartStore, MobileSync, AuthFlowTester]
1515
ios: [^26, ^18, ^17]
1616
include:
1717
- ios: ^26
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
app: [RestAPIExplorer, MobileSyncExplorer]
34+
app: [RestAPIExplorer, MobileSyncExplorer, AuthFlowTester]
3535
ios: [^26, ^18, ^17]
3636
include:
3737
- ios: ^26

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
strategy:
121121
fail-fast: false
122122
matrix:
123-
app: [RestAPIExplorer, MobileSyncExplorer]
123+
app: [RestAPIExplorer, MobileSyncExplorer, AuthFlowTester]
124124
ios: [^26, ^18]
125125
include:
126126
- ios: ^26

0 commit comments

Comments
 (0)