Closed Graur closed 1 year ago
@yegor256 I'm not sure about this change, since I can't build the report. But looks like this change can help to make pictures of profiles in report works
@rultor release, tag is 0.0.47
@Graur thanks!
@rultor release, tag is
0.0.47
@yegor256 OK, I will release it now. Please check the progress here
@rultor release, tag is
0.0.47
@graur @yegor256 Oops, I failed. You can see the full log here (spent 3min)
<xsl:variable name="value">\n
<xsl:choose>\n
<xsl:when test="@hideZero and .='0'">\n
<!-- nothing -->\n
</xsl:when>\n
<xsl:otherwise>\n
<xsl:value-of select="."/>\n
</xsl:otherwise>\n
</xsl:choose>\n
</xsl:variable>\n
<xsl:variable name="body">\n
<xsl:choose>\n
<xsl:when test="@href">\n
<a href="{@href}">\n
<xsl:value-of select="$value"/>\n
</a>\n
</xsl:when>\n
<xsl:otherwise>\n
<xsl:value-of select="$value"/>\n
</xsl:otherwise>\n
</xsl:choose>\n
</xsl:variable>\n
<td class="num">\n
<xsl:attribute name="data-sort-value">\n
<xsl:choose>\n
<xsl:when test="@actual">\n
<xsl:value-of select="@actual"/>\n
</xsl:when>\n
<xsl:otherwise>\n
<xsl:copy-of select="$value"/>\n
</xsl:otherwise>\n
</xsl:choose>\n
</xsl:attribute>\n
<xsl:choose>\n
<xsl:when test="@actual">\n
<span class="firebrick">\n
<xsl:copy-of select="$body"/>\n
</span>\n
</xsl:when>\n
<xsl:otherwise>\n
<xsl:copy-of select="$body"/>\n
</xsl:otherwise>\n
</xsl:choose>\n
<xsl:if test="@actual">\n
<br/>\n
<span class="subtitle" title="The actual value of the metric was capped">\n
<xsl:value-of select="@actual"/>\n
</span>\n
</xsl:if>\n
</td>\n
</xsl:template>\n
<xsl:template match="node()|@*">\n
<xsl:copy>\n
<xsl:apply-templates select="node()|@*"/>\n
</xsl:copy>\n
</xsl:template>\n
</xsl:stylesheet>\n
Invalid XML formatting in assets/index.xsl
container 00df8ab75ad9b13f7876e8f4ed13367248a8825e1c9a648ad598e9e953d48513 is dead
Wed 22 Mar 2023 11:49:17 AM CET
@rultor release, tag is 0.0.47
@rultor release, tag is
0.0.47
@yegor256 OK, I will release it now. Please check the progress here
@rultor release, tag is
0.0.47
@graur @yegor256 Oops, I failed. You can see the full log here (spent 3min)
Scenario: Gem can be packaged \u001b[90m# features/gem_package.feature:5\u001b[0m
\u001b[32mGiven I have a "\u001b[32m\u001b[1mexecs.rb\u001b[0m\u001b[0m\u001b[32m" file with content:\u001b[90m # features/step_definitions/steps.rb:41\u001b[0m\u001b[0m
\u001b[32m """\u001b[0m
\u001b[32m #!/usr/bin/env ruby\u001b[0m
\u001b[32m require 'rubygems'\u001b[0m
\u001b[32m spec = Gem::Specification::load('./spec.rb')\u001b[0m
\u001b[32m if spec.executables.empty?\u001b[0m
\u001b[32m fail 'no executables: ' + File.read('./spec.rb')\u001b[0m
\u001b[32m end\u001b[0m
\u001b[32m """\u001b[0m
/tmp/test20230322-769-1bdsp64/cobench/lib/cobench/version.rb:26: warning: already initialized constant Cobench::VERSION
/home/r/repo/lib/cobench/version.rb:26: warning: previous definition of VERSION was here
\u001b[32mWhen I run bash with:\u001b[90m # features/step_definitions/steps.rb:74\u001b[0m\u001b[0m
\u001b[32m """\u001b[0m
\u001b[32m cd cobench\u001b[0m
\u001b[32m gem build cobench.gemspec\u001b[0m
\u001b[32m gem specification --ruby cobench-*.gem > ../spec.rb\u001b[0m
\u001b[32m cd ..\u001b[0m
\u001b[32m ruby execs.rb\u001b[0m
\u001b[32m """\u001b[0m
\u001b[32mThen Exit code is zero\u001b[90m # features/step_definitions/steps.rb:60\u001b[0m\u001b[0m
6 scenarios (\u001b[32m6 passed\u001b[0m)
18 steps (\u001b[32m18 passed\u001b[0m)
0m40.112s
\u001b[1m\u001b[32m┌──────────────────────────────────────────────────────────────────────────────┐\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m Share your Cucumber Report with your team at \u001b[4m\u001b[1m\u001b[36mhttps://reports.cucumber.io\u001b[0m\u001b[0m\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m Command line option: \u001b[36m--publish\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m Environment variable: \u001b[36mCUCUMBER_PUBLISH_ENABLED\u001b[0m=\u001b[36mtrue\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m cucumber.yml: \u001b[36mdefault: --publish\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m More information at \u001b[4m\u001b[1m\u001b[36mhttps://cucumber.io/docs/cucumber/environment-variables/\u001b[0m\u001b[0m\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m To disable this message, specify \u001b[1mCUCUMBER_PUBLISH_QUIET=true\u001b[0m or use the \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m \u001b[1m--publish-quiet\u001b[0m option. You can also add this to your \u001b[1mcucumber.yml:\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m \u001b[1mdefault: --publish-quiet\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m└──────────────────────────────────────────────────────────────────────────────┘\u001b[0m\u001b[0m
Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 0 / 0 LOC (100.0%) covered.
Running RuboCop...
Inspecting 18 files
\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m
18 files inspected, \u001b[32mno offenses\u001b[0m detected
Running xcop...
Inspecting 1 file...
\u001b[32m.\u001b[0m
1 file checked, everything looks \u001b[32mpretty\u001b[0m
grep -q -r '2023' --include '*.rb' --include '*.txt' --include 'Rakefile' .
rake aborted!
Command failed with status (1): [grep -q -r '2023' --include '*.rb' ...]
/home/r/repo/Rakefile:78:in `block in <top (required)>'
/usr/local/rvm/gems/ruby-2.7.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `eval'
/usr/local/rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => default => copyright
(See full trace by running task with --trace)
container cce3315886de90d157e70262904fa4a91e65f690f745cd404b4fd3cace79a630 is dead
Wed 22 Mar 2023 11:58:47 AM CET
@rultor release, tag is 0.0.47
@rultor release, tag is
0.0.47
@yegor256 OK, I will release it now. Please check the progress here
@rultor release, tag is
0.0.47
@graur @yegor256 Oops, I failed. You can see the full log here (spent 3min)
\u001b[32mThen Stdout contains "\u001b[32m\u001b[1mXML saved to\u001b[0m\u001b[0m\u001b[32m"\u001b[90m # features/step_definitions/steps.rb:52\u001b[0m\u001b[0m
\u001b[32mAnd Exit code is zero\u001b[90m # features/step_definitions/steps.rb:60\u001b[0m\u001b[0m
Feature: Gem Package
As a source code writer I want to be able to
package the Gem into .gem file
Scenario: Gem can be packaged \u001b[90m# features/gem_package.feature:5\u001b[0m
\u001b[32mGiven I have a "\u001b[32m\u001b[1mexecs.rb\u001b[0m\u001b[0m\u001b[32m" file with content:\u001b[90m # features/step_definitions/steps.rb:41\u001b[0m\u001b[0m
\u001b[32m """\u001b[0m
\u001b[32m #!/usr/bin/env ruby\u001b[0m
\u001b[32m require 'rubygems'\u001b[0m
\u001b[32m spec = Gem::Specification::load('./spec.rb')\u001b[0m
\u001b[32m if spec.executables.empty?\u001b[0m
\u001b[32m fail 'no executables: ' + File.read('./spec.rb')\u001b[0m
\u001b[32m end\u001b[0m
\u001b[32m """\u001b[0m
/tmp/test20230322-769-1vooq1n/cobench/lib/cobench/version.rb:26: warning: already initialized constant Cobench::VERSION
/home/r/repo/lib/cobench/version.rb:26: warning: previous definition of VERSION was here
\u001b[32mWhen I run bash with:\u001b[90m # features/step_definitions/steps.rb:74\u001b[0m\u001b[0m
\u001b[32m """\u001b[0m
\u001b[32m cd cobench\u001b[0m
\u001b[32m gem build cobench.gemspec\u001b[0m
\u001b[32m gem specification --ruby cobench-*.gem > ../spec.rb\u001b[0m
\u001b[32m cd ..\u001b[0m
\u001b[32m ruby execs.rb\u001b[0m
\u001b[32m """\u001b[0m
\u001b[32mThen Exit code is zero\u001b[90m # features/step_definitions/steps.rb:60\u001b[0m\u001b[0m
6 scenarios (\u001b[32m6 passed\u001b[0m)
18 steps (\u001b[32m18 passed\u001b[0m)
0m45.232s
\u001b[1m\u001b[32m┌──────────────────────────────────────────────────────────────────────────────┐\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m Share your Cucumber Report with your team at \u001b[4m\u001b[1m\u001b[36mhttps://reports.cucumber.io\u001b[0m\u001b[0m\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m Command line option: \u001b[36m--publish\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m Environment variable: \u001b[36mCUCUMBER_PUBLISH_ENABLED\u001b[0m=\u001b[36mtrue\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m cucumber.yml: \u001b[36mdefault: --publish\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m More information at \u001b[4m\u001b[1m\u001b[36mhttps://cucumber.io/docs/cucumber/environment-variables/\u001b[0m\u001b[0m\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m To disable this message, specify \u001b[1mCUCUMBER_PUBLISH_QUIET=true\u001b[0m or use the \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m \u001b[1m--publish-quiet\u001b[0m option. You can also add this to your \u001b[1mcucumber.yml:\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m│\u001b[0m\u001b[0m \u001b[1mdefault: --publish-quiet\u001b[0m \u001b[1m\u001b[32m│\u001b[0m\u001b[0m
\u001b[1m\u001b[32m└──────────────────────────────────────────────────────────────────────────────┘\u001b[0m\u001b[0m
Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 0 / 0 LOC (100.0%) covered.
Running RuboCop...
Inspecting 18 files
\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[33mC\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m
Offenses:
\u001b[36mlib/cobench/mask.rb\u001b[0m:21:26: \u001b[33mC\u001b[0m: \u001b[33m[Correctable] \u001b[0mStyle/RedundantFileExtensionInRequire: Redundant \u001b[33m.rb\u001b[0m file extension detected.
require_relative 'version.rb'
^^^
18 files inspected, \u001b[31m1 offense\u001b[0m detected, \u001b[33m1 offense\u001b[0m autocorrectable
RuboCop failed!
container a73f87ab60bdea298e1be4e65087bfee873e9f0b3bd6b982d2ad6a740538d87e is dead
Wed 22 Mar 2023 12:23:59 PM CET
@rultor release, tag is 0.0.47
What's done: