fastlane-plugin-android_testlab_script_swit 0.1.934 → 0.1.935
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56bcf5c2ad3bcf5ef463227a72acd7dc662dcbb7a2b64b8faa5d087d107fa43b
|
4
|
+
data.tar.gz: aa1a698bdb13fc4f82c0f6ddc99eae6c0e54c28631d4fc5e3bdbdf1673c03858
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ee25e6d62df9b70039986b3c7ebe46e8624f48ecfff34acc66bb5c4bd1be0c52a252fc853a789e9a809e80bd74c537b6402536623599e47f0eb6ed84a23b97a
|
7
|
+
data.tar.gz: a93e77a0738b90e76ee6d9add3484f7adfeb4716b41cc7160e7224ea4302936aacbf9673cda4c86e3d1c7b586ac7655cc2559f3c38e39945314ea118febf212c
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
@@ -28,7 +28,28 @@ module Fastlane
|
|
28
28
|
robo_script_option = params[:robo_script_path].nil? ? "" : "--robo-script #{params[:robo_script_path]} "
|
29
29
|
|
30
30
|
# Run Firebase Test Lab
|
31
|
-
|
31
|
+
|
32
|
+
# 딜레이
|
33
|
+
params[:devices].each_with_index do |device, index|
|
34
|
+
# 딜레이 추가
|
35
|
+
sleep(index * 60) # 각 디바이스별로 1분씩 증가하는 딜레이
|
36
|
+
|
37
|
+
# Run Firebase Test Lab for the current device
|
38
|
+
Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
|
39
|
+
"--app #{params[:app_apk]} "\
|
40
|
+
"#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
|
41
|
+
"#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
|
42
|
+
"--device model=#{device[:model]},version=#{device[:version]},locale=#{device[:locale]},orientation=#{device[:orientation]} "\
|
43
|
+
"--timeout #{params[:timeout]} "\
|
44
|
+
"--results-bucket #{results_bucket} "\
|
45
|
+
"--results-dir #{results_dir} "\
|
46
|
+
"#{params[:extra_options]} "\
|
47
|
+
"#{robo_script_option}"\
|
48
|
+
"--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
|
49
|
+
end
|
50
|
+
|
51
|
+
|
52
|
+
#Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
|
32
53
|
"--app #{params[:app_apk]} "\
|
33
54
|
"#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
|
34
55
|
"#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
|
@@ -39,7 +60,7 @@ module Fastlane
|
|
39
60
|
"#{params[:extra_options]} "\
|
40
61
|
"#{robo_script_option}"\
|
41
62
|
"--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
|
42
|
-
)
|
63
|
+
#)
|
43
64
|
|
44
65
|
# Fetch results
|
45
66
|
download_dir = params[:download_dir]
|
@@ -48,7 +69,7 @@ module Fastlane
|
|
48
69
|
json.each do |status|
|
49
70
|
axis = status["axis_value"]
|
50
71
|
Helper.if_need_dir("#{download_dir}/#{axis}")
|
51
|
-
Helper.copy_from_gcs("#{results_bucket}/#{
|
72
|
+
Helper.copy_from_gcs("#{results_bucket}/#{results_dirresults_dir}/#{axis}", download_dir)
|
52
73
|
Helper.set_public("#{results_bucket}/#{results_dir}/#{axis}")
|
53
74
|
end
|
54
75
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-android_testlab_script_swit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.935
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 나비이쁜이
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|