fastlane-plugin-android_testlab_script_swit 0.1.41 → 0.1.43
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 -3
- data/lib/fastlane/plugin/android_testlab_script_swit/helper/android_testlab_script_swit_helper.rb +2 -1
- 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: accad07356a2a4ce5f5754a8af92d0e3d9ca5241dba83ef31096966209999a53
|
4
|
+
data.tar.gz: f789da5dc407e420297125c402e5a1f157771c7eba934659dd4d3697be4fc484
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55397edd26d7fe67fecef2bbc1b90b2f9b6011251e426ddd50ee551bac30470df497caa4bafe31d73c0b2d95b81652fb0ff6e6ffb072f107def870a69c69ed17
|
7
|
+
data.tar.gz: f11e82a7f47f6f5089cc6e2267b08f9f4f13e473749f02d9ae091e3f3402e385dde7601c63fe4fc0f3a0b659ae7261f9689f34696df76e58fa56e26efa05fc5f
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
@@ -24,7 +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
|
-
Helper.run_tests("--type #{params[:type]} "\
|
27
|
+
result_url = Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
|
28
28
|
"--app #{params[:app_apk]} "\
|
29
29
|
"#{"--test #{params[:app_test_apk]} " unless params[:app_test_apk].nil?}"\
|
30
30
|
"#{"--use-orchestrator " if params[:type] == "instrumentation" && params[:use_orchestrator]}"\
|
@@ -37,10 +37,9 @@ module Fastlane
|
|
37
37
|
"--format=json 1>#{Helper.if_need_dir(params[:console_log_file_name])}"
|
38
38
|
)
|
39
39
|
|
40
|
-
# wait_for_test_to_complete(test_results_url)
|
41
|
-
|
42
40
|
# json = JSON.parse(File.read(params[:console_log_file_name]))
|
43
41
|
# UI.message("Test status: #{json}")
|
42
|
+
|
44
43
|
#
|
45
44
|
# # Fetch results
|
46
45
|
# download_dir = params[:download_dir]
|
data/lib/fastlane/plugin/android_testlab_script_swit/helper/android_testlab_script_swit_helper.rb
CHANGED
@@ -34,8 +34,9 @@ module Fastlane
|
|
34
34
|
|
35
35
|
def self.run_tests(arguments)
|
36
36
|
UI.message("Test running...")
|
37
|
+
Action.sh("set +e; gcloud#{' ' + gcloud_components_channel unless gcloud_components_channel == "stable"} firebase test android run #{arguments}; set -e")
|
37
38
|
# Action.sh("set +e; gcloud #{gcloud_components_channel unless gcloud_components_channel == "stable"} firebase test android run #{arguments}; set -e")
|
38
|
-
|
39
|
+
# Action.sh("set +e; gcloud stable firebase test android run #{arguments}; set -e")
|
39
40
|
end
|
40
41
|
|
41
42
|
def self.copy_from_gcs(bucket_and_path, copy_to)
|