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 +4 -4
- data/lib/ci/queue/version.rb +1 -1
- data/lib/minitest/queue/junit_reporter.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd585604a08da7bee0d9d3c019eea70d0a1aa0d934602c3530e41e9c4b879571
|
4
|
+
data.tar.gz: c5ba76f4cfe81750ab92fb8c68e8ad67cee9501774674b62603eacab9cbd8b50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1906a348bf0c73fa66a6d9fda1fa891676659cdc71de21f7279d436cd7562c58e5c02caa60a4259e6e6c3c6d3564bb945bfcb7b27275baaaa6864405654f7538
|
7
|
+
data.tar.gz: e63d5ca5acfc44c402434925519b464f00c95ea45a29cf5379013cade928985d2a976f4e34c35da2835cf8bb254bc28eb37f5f4b11e072bbf85f80dd134fec9b
|
data/lib/ci/queue/version.rb
CHANGED
@@ -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.
|
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:
|
11
|
+
date: 2021-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|