fastlane-plugin-retry_tests 1.0.3 → 1.0.4

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
  SHA1:
3
- metadata.gz: 32ea430560e2cd4f25d32908bea29038ac114f01
4
- data.tar.gz: 6ffdbf1de371cdad379e4ad4d62f11c0db5cc789
3
+ metadata.gz: e746e60aff3e682cc2d4a8e51421de6968d14903
4
+ data.tar.gz: f3f602d79c25320f5607cd10f8c67b120838b401
5
5
  SHA512:
6
- metadata.gz: 58968436564be68840e836341478d80977314c88fb007902c5752cb5e0e6d2cefb7f931864e2b745873963c2573fa01952d0bc2c20e5f0a6f0c90879750557dd
7
- data.tar.gz: b5b9a41ffd34eab4f55c35ca1d1d51e1e0944986f306f4e9f0cf0f735e45c8b3efcb4fe0c6d9d92d73b593b779f91f8e112df2dfd375238edad88513303096c0
6
+ metadata.gz: 6c184c61ab44ad5513f3542443cefc2775127aa8d9146676d4bfdceafbd975c4d64a222beedcf9027749860007e36d17e56f2bc5ef4e8907c729850703ee31ba
7
+ data.tar.gz: 7fd57b36e0bbc248a5c67b3480ba9462f8e9c8e2729891ade2e14531e0372d88c306a0f7e5b7f95a09b47966d4094360c08788fd563fc3418f727e5e7d0caa9c
@@ -8,7 +8,7 @@ module Fastlane
8
8
  class CollateJunitReportsAction < Action
9
9
 
10
10
  def self.run(params)
11
- report_filepaths = params[:reports].reverse
11
+ report_filepaths = params[:reports]
12
12
  if report_filepaths.size == 1
13
13
  FileUtils.cp(report_filepaths[0], params[:collated_report])
14
14
  else
@@ -31,11 +31,6 @@ module Fastlane
31
31
  Dir.mkdir(params[:collated_report]) unless File.exists?(params[:collated_report])
32
32
  file_name = params[:collated_report] + "/action_TestSummaries.plist"
33
33
  retried_tests = retry_report.xpath("//key[contains(.,'TestSummaryGUID')]/..")
34
- UI.message("tests retried this run: " + retried_tests.length)
35
-
36
- if (retried_tests.length <= 1)
37
- return
38
- end
39
34
 
40
35
  current_node = retried_tests.shift
41
36
 
@@ -87,7 +82,6 @@ module Fastlane
87
82
  def self.get_test_name(test_data)
88
83
  test_name = test_data.xpath("(//key[contains(.,'TestSummaryGUID')])/../key[contains(.,'TestName')]/following-sibling::string").to_a[0].to_s
89
84
  test_name = test_name[8..-10]
90
- UI.message("test_name shortened: " + test_name)
91
85
  test_name
92
86
  end
93
87
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-retry_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gloria Chow