class CoverageReporter::Reporter

Defined in:

coverage_reporter/reporter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(base_path : String | Nil, carryforward : String | Nil, compare_ref : String | Nil, compare_sha : String | Nil, config_path : String | Nil, coverage_file : String | Nil, coverage_format : String | Nil, dry_run : Bool, fail_empty : Bool, job_flag_name : String | Nil, overrides : CI::Options | Nil, parallel : Bool, repo_token : String | Nil) #

[View source]

Instance Method Detail

def base_path : String? #

[View source]
def carryforward : String? #

[View source]
def compare_ref : String? #

[View source]
def compare_sha : String? #

[View source]
def config_path : String? #

[View source]
def coverage_file : String? #

[View source]
def coverage_format : String? #

[View source]
def dry_run : Bool #

[View source]
def fail_empty : Bool #

[View source]
def job_flag_name : String? #

[View source]
def overrides : CoverageReporter::CI::Options? #

[View source]
def parallel : Bool #

[View source]
def parallel_done #

Reports that all parallel jobs were reported and Coveralls can aggregate coverage results.

Refers to a build via service_number parameter which is either taken from a CI-specific ENV, or can be set explicitly via COVERALLS_SERVICE_NUMBER environment variable.


[View source]
def repo_token : String? #

[View source]
def report #

Parses the coverage reports in the current directory or the given coverage_file and sends the report to Coveralls API.

If coverage_file is provided only its content will be parsed. Otherwise current directory will be searched for all supported report formats.


[View source]