-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Add MessageList E2E tests (#5530)
- Loading branch information
1 parent
f319aa3
commit d3a197c
Showing
21 changed files
with
1,207 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ jobs: | |
include: | ||
- batch: 0 | ||
- batch: 1 | ||
fail-fast: false | ||
env: | ||
ANDROID_API_LEVEL: 34 | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,16 @@ before_all do |lane| | |
end | ||
end | ||
|
||
lane :start_mock_server do | ||
stop_mock_server if is_localhost | ||
lane :start_mock_server do |options| | ||
mock_server_repo = 'stream-chat-test-mock-server' | ||
sh("rm -rf #{mock_server_repo}") if File.directory?(mock_server_repo) | ||
sh("git clone [email protected]:#{github_repo.split('/').first}/#{mock_server_repo}.git") | ||
stop_mock_server if is_localhost | ||
|
||
if options[:local_server] | ||
mock_server_repo = options[:local_server] | ||
else | ||
sh("rm -rf #{mock_server_repo}") if File.directory?(mock_server_repo) | ||
sh("git clone [email protected]:#{github_repo.split('/').first}/#{mock_server_repo}.git") | ||
end | ||
|
||
Dir.chdir(mock_server_repo) do | ||
FileUtils.mkdir_p('logs') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.