fastlane-plugin-android_testlab_script_swit 0.1.42 → 0.1.44
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb +2 -5
- data/lib/fastlane/plugin/android_testlab_script_swit/helper/android_testlab_script_swit_helper.rb +2 -2
- data/lib/fastlane/plugin/android_testlab_script_swit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1e83b53bbf912cf6731e453639a218b03bacd388974542111478aeff31d7a30
|
4
|
+
data.tar.gz: 83a1b728e78eea64ce33c11289a62f68bf7a0790fb22f27752eb9fadad75daef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 517fca216bdcefafda5058f001f16478636d73deaf8494af48b136f50d0ef610d4993eaf0eb7222c18dcf3fd94c4bbe18d6eca917d8c7692cc3474aff8f52292
|
7
|
+
data.tar.gz: 7ab86e2d0f617e9ee85af5981060b01c578e00028017249565905d57d2ca950ece9b32860195aa522e0470885072cd1606756170eda8fe6f5954cef2535482e0
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
@@ -24,9 +24,7 @@ module Fastlane
|
|
24
24
|
robo_script_option = params[:robo_script_path].nil? ? "" : "--robo-script #{params[:robo_script_path]} "
|
25
25
|
|
26
26
|
# Run Firebase Test Lab
|
27
|
-
|
28
|
-
|
29
|
-
Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
|
27
|
+
result_url = Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
|
30
28
|
"--app #{params[:app_apk]} "\
|
31
29
|
"#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
|
32
30
|
"#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
|
@@ -39,10 +37,9 @@ module Fastlane
|
|
39
37
|
"--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
|
40
38
|
)
|
41
39
|
|
42
|
-
# wait_for_test_to_complete(test_results_url)
|
43
|
-
|
44
40
|
# json = JSON.parse(File.read(params[:console_log_file_name]))
|
45
41
|
# UI.message("Test status: #{json}")
|
42
|
+
|
46
43
|
#
|
47
44
|
# # Fetch results
|
48
45
|
# download_dir = params[:download_dir]
|
data/lib/fastlane/plugin/android_testlab_script_swit/helper/android_testlab_script_swit_helper.rb
CHANGED
@@ -32,7 +32,7 @@ module Fastlane
|
|
32
32
|
Action.sh("gcloud auth activate-service-account --key-file #{gcloud_key_file}")
|
33
33
|
end
|
34
34
|
|
35
|
-
def self.run_tests(arguments)
|
35
|
+
def self.run_tests(gcloud_components_channel, arguments)
|
36
36
|
UI.message("Test running...")
|
37
37
|
Action.sh("set +e; gcloud#{' ' + gcloud_components_channel unless gcloud_components_channel == "stable"} firebase test android run #{arguments}; set -e")
|
38
38
|
# Action.sh("set +e; gcloud #{gcloud_components_channel unless gcloud_components_channel == "stable"} firebase test android run #{arguments}; set -e")
|
@@ -142,4 +142,4 @@ module Fastlane
|
|
142
142
|
return prefix, comment
|
143
143
|
end
|
144
144
|
end
|
145
|
-
end
|
145
|
+
end
|