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
- SHA1:
3
- metadata.gz: 18a59923efe2a8fd8f60fb14bc84738914c176b2
4
- data.tar.gz: cdc8410dc9a9d2a14005aefd500f0dbc0cd900cd
2
+ SHA256:
3
+ metadata.gz: ea0d5419e19e90d11bb28c0a63652d340925b8d0e1db26f750b46c87ee073f69
4
+ data.tar.gz: 3d34d4954ea60b6278cd05c149a711a8b668a88334b2cecd7fdcd71a6c8f91a8
5
5
  SHA512:
6
- metadata.gz: a164455b68cf929e313fb692c06b400d841988f3dd1868a6dbee6238ea689aeae014ba27cb2066ba94848e9e33cafba68285a8a855ddeec252bd0abf889ce9a8
7
- data.tar.gz: 489780097f63d24dfdc2124ea16461750f5bb23c35c87a79728222c5debec3b74d317e6abab5711612704299156a9e998acd8c855b8ee08a76d8c2f8817c95a8
6
+ metadata.gz: 3b85305fe7fdf5d11924e79ac2324bb0affdad12d9c1e552a96c2e31352df5954a9bdeda9401bf0e4370f5edf3752e2a3d25f91ac2a142ce1b2d4f837121db8a
7
+ data.tar.gz: c4316ef306169a49c3c9f6e8d6dab8f1364322ee56bec484ace3d5e083605301237720c8d8f23591408ad5a4f4ca686e0af1d35f994b00daf1e649376fd35219
@@ -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("#{Commands.run_tests} "\
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
- "2>&1 | tee #{@test_console_output_file}")
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...")
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module RunTestsFirebaseTestlab
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
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.1.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-02-06 00:00:00.000000000 Z
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.4.8
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.