Skip to content

Commit

Permalink
Add missing options[:device] to stress test lanes
Browse files Browse the repository at this point in the history
  • Loading branch information
nuno-vieira committed Mar 26, 2021
1 parent 96a7240 commit 7b897d7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ lane :test_release do
testplan: "StreamChatTestPlan",
configuration: "ReleaseTests",
clean: true,
devices: options[:device]
)
end

Expand All @@ -258,7 +259,8 @@ lane :stress_test do
project: "StreamChat.xcodeproj",
scheme: "StreamChat",
clean: true,
build_for_testing: true
build_for_testing: true,
devices: options[:device]
)

setCIEnvironmentVariable("../Tests/StreamChatTests/StreamChatStressTestPlan.xctestplan")
Expand All @@ -269,6 +271,7 @@ lane :stress_test do
scheme: "StreamChat",
test_without_building: true,
testplan: "StreamChatStressTestPlan",
devices: options[:device],
xcpretty_args: "--test" # simplify logs
)
}
Expand All @@ -281,7 +284,8 @@ lane :stress_test_release do
scheme: "StreamChat",
configuration: "ReleaseTests",
clean: true,
build_for_testing: true
build_for_testing: true,
devices: options[:device]
)

setCIEnvironmentVariable("../Tests/StreamChatTests/StreamChatStressTestPlan.xctestplan")
Expand All @@ -293,6 +297,7 @@ lane :stress_test_release do
configuration: "ReleaseTests",
test_without_building: true,
testplan: "StreamChatStressTestPlan",
devices: options[:device],
xcpretty_args: "--test" # simplify logs
)
}
Expand Down Expand Up @@ -340,6 +345,7 @@ lane :build_docs_snippets do |options|
scheme: "DocsSnippets",
clean: true,
build_for_testing: true,
devices: options[:device]
)
end

Expand Down

0 comments on commit 7b897d7

Please sign in to comment.