fastlane-plugin-run_tests_firebase_testlab 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ea0d5419e19e90d11bb28c0a63652d340925b8d0e1db26f750b46c87ee073f69
|
4
|
+
data.tar.gz: 3d34d4954ea60b6278cd05c149a711a8b668a88334b2cecd7fdcd71a6c8f91a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b85305fe7fdf5d11924e79ac2324bb0affdad12d9c1e552a96c2e31352df5954a9bdeda9401bf0e4370f5edf3752e2a3d25f91ac2a142ce1b2d4f837121db8a
|
7
|
+
data.tar.gz: c4316ef306169a49c3c9f6e8d6dab8f1364322ee56bec484ace3d5e083605301237720c8d8f23591408ad5a4f4ca686e0af1d35f994b00daf1e649376fd35219
|
data/lib/fastlane/plugin/run_tests_firebase_testlab/actions/run_tests_firebase_testlab_action.rb
CHANGED
@@ -27,14 +27,16 @@ module Fastlane
|
|
27
27
|
Action.sh("#{Commands.auth} --key-file #{@client_secret_file}")
|
28
28
|
|
29
29
|
UI.message("Running instrumentation tests in Firebase Test Lab...")
|
30
|
-
Action.sh("
|
30
|
+
Action.sh("mkfifo pipe")
|
31
|
+
Action.sh("tee #{@test_console_output_file} < pipe & "\
|
32
|
+
"#{Commands.run_tests} "\
|
31
33
|
"--type instrumentation "\
|
32
34
|
"--app #{params[:app_apk]} "\
|
33
35
|
"--test #{params[:android_test_apk]} "\
|
34
36
|
"--device model=#{params[:model]},version=#{params[:version]},locale=#{params[:locale]},orientation=#{params[:orientation]} "\
|
35
37
|
"--timeout #{params[:timeout]} "\
|
36
|
-
"#{params[:extra_options]} "
|
37
|
-
|
38
|
+
"#{params[:extra_options]} > pipe 2>&1")
|
39
|
+
Action.sh("rm pipe")
|
38
40
|
|
39
41
|
UI.message("Create firebase directory (if not exists) to store test results.")
|
40
42
|
FileUtils.mkdir_p(params[:output_dir])
|
@@ -46,7 +48,7 @@ module Fastlane
|
|
46
48
|
end
|
47
49
|
|
48
50
|
UI.message("Downloading instrumentation test results from Firebase Test Lab...")
|
49
|
-
Action.sh("#{Commands.download_results} #{params[:bucket_url]} #{params[:output_dir]}
|
51
|
+
Action.sh("#{Commands.download_results} #{params[:bucket_url]} #{params[:output_dir]}")
|
50
52
|
|
51
53
|
if params[:delete_firebase_files]
|
52
54
|
UI.message("Deleting files from firebase storage...")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-run_tests_firebase_testlab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno Correia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
170
|
rubyforge_project:
|
171
|
-
rubygems_version: 2.
|
171
|
+
rubygems_version: 2.7.3
|
172
172
|
signing_key:
|
173
173
|
specification_version: 4
|
174
174
|
summary: Runs Android tests in Firebase Test Lab.
|