ci-queue 0.20.7 → 0.20.8

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
2
  SHA256:
3
- metadata.gz: 869f4269443defdf645936cf4b6cf969dd821263b9a96b4de71da7bbbbd98152
4
- data.tar.gz: 3aa8a19f472ed869a88f35b3c124a01700fc1acf235617c5f78dcb67232f91c8
3
+ metadata.gz: bd585604a08da7bee0d9d3c019eea70d0a1aa0d934602c3530e41e9c4b879571
4
+ data.tar.gz: c5ba76f4cfe81750ab92fb8c68e8ad67cee9501774674b62603eacab9cbd8b50
5
5
  SHA512:
6
- metadata.gz: 7d5cd85fe45b05060738a72f6be624e3cfef6bf9a24ea3019433773aa7bb8a7a6f5ef94dc6a0d2cce5a2d04d4b820ca242f41f07e8720aa2f004f528bc4de372
7
- data.tar.gz: a82a023c73718e924210c2a379d6195b62062731679c24c6a230cff26df3d455107c1a902d8a9a97fd3a2a2510a6c145e8f02545121720139ad2e2802d37b3ae
6
+ metadata.gz: 1906a348bf0c73fa66a6d9fda1fa891676659cdc71de21f7279d436cd7562c58e5c02caa60a4259e6e6c3c6d3564bb945bfcb7b27275baaaa6864405654f7538
7
+ data.tar.gz: e63d5ca5acfc44c402434925519b464f00c95ea45a29cf5379013cade928985d2a976f4e34c35da2835cf8bb254bc28eb37f5f4b11e072bbf85f80dd134fec9b
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CI
4
4
  module Queue
5
- VERSION = '0.20.7'
5
+ VERSION = '0.20.8'
6
6
  DEV_SCRIPTS_ROOT = ::File.expand_path('../../../../../redis', __FILE__)
7
7
  RELEASE_SCRIPTS_ROOT = ::File.expand_path('../redis', __FILE__)
8
8
  end
@@ -7,6 +7,8 @@ require 'fileutils'
7
7
  module Minitest
8
8
  module Queue
9
9
  class JUnitReporter < Minitest::Reporters::BaseReporter
10
+ include ::CI::Queue::OutputHelpers
11
+
10
12
  def initialize(report_path = 'log/junit.xml', options = {})
11
13
  super({})
12
14
  @report_path = File.absolute_path(report_path)
@@ -76,6 +78,8 @@ module Minitest
76
78
 
77
79
  testcase = testsuite.add_element('testcase', attributes)
78
80
  add_xml_message_for(testcase, test) unless test.passed?
81
+ rescue REXML::ParseException, RuntimeError => error
82
+ step(red("Skipping adding '#{suite}##{test.name}' to JUnit report: #{error.message}"))
79
83
  end
80
84
  end
81
85
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ci-queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.7
4
+ version: 0.20.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-11-20 00:00:00.000000000 Z
11
+ date: 2021-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler