module CircleCI::CoverageReporter
Constants
- Artifact
Encapsulate a
CircleCI
artifact@attr path [String] abstract path to the artifact in
CircleCI
container @attr url [String] URL of the artifact @attr node_index [Integer] the ID of the artifact's container- Build
Encapsulate a
CircleCI
build@attr vcs_revision [String] revision of git @attr build_number [Integer] the ID of the
CircleCI
build- Result
@attr coverage [Float] @attr url [String] URL for coverage index.html
Attributes
client[W]
Setters for shared global objects @api private
configuration[W]
Setters for shared global objects @api private
Public Class Methods
client()
click to toggle source
@return [Client]
# File lib/circleci/coverage_reporter.rb, line 25 def self.client @client ||= Client.new end
configuration()
click to toggle source
@return [Configuration]
# File lib/circleci/coverage_reporter.rb, line 20 def self.configuration @configuration ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
Yields the global configuration to a block.
@yield [Configuration]
# File lib/circleci/coverage_reporter.rb, line 32 def self.configure yield configuration if block_given? end
run()
click to toggle source
@return [void]
# File lib/circleci/coverage_reporter.rb, line 37 def self.run configuration.reporters.select!(&:active?) configuration.dump raise NoActiveReporter if configuration.reporters.empty? Runner.new.tap(&:dump).run end