module CoverageReporter
Extended Modules
Defined in:
coverage_reporter.crcoverage_reporter/api.cr
coverage_reporter/api/jobs.cr
coverage_reporter/api/webhook.cr
coverage_reporter/base_exception.cr
coverage_reporter/ci/appveyor.cr
coverage_reporter/ci/azure.cr
coverage_reporter/ci/buildkite.cr
coverage_reporter/ci/circle_ci.cr
coverage_reporter/ci/codefresh.cr
coverage_reporter/ci/codeship.cr
coverage_reporter/ci/drone.cr
coverage_reporter/ci/generic.cr
coverage_reporter/ci/github.cr
coverage_reporter/ci/gitlab.cr
coverage_reporter/ci/jenkins.cr
coverage_reporter/ci/local.cr
coverage_reporter/ci/options.cr
coverage_reporter/ci/semaphore.cr
coverage_reporter/ci/surf.cr
coverage_reporter/ci/tddium.cr
coverage_reporter/ci/travis.cr
coverage_reporter/ci/wercker.cr
coverage_reporter/config.cr
coverage_reporter/file_report.cr
coverage_reporter/git.cr
coverage_reporter/log.cr
coverage_reporter/parser.cr
coverage_reporter/parsers/base_parser.cr
coverage_reporter/parsers/cobertura_parser.cr
coverage_reporter/parsers/gcov_parser.cr
coverage_reporter/parsers/golang_parser.cr
coverage_reporter/parsers/jacoco_parser.cr
coverage_reporter/parsers/lcov_parser.cr
coverage_reporter/parsers/simplecov_parser.cr
coverage_reporter/yaml_config.cr
Constant Summary
-
VERSION =
"0.2.9"
Instance Method Summary
-
#parallel_done(repo_token : String | Nil, config_path : String, carryforward : String | Nil, dry_run : Bool)
Reports that all parallel jobs were reported and Coveralls can aggregate coverage results.
-
#report(coverage_file : String | Nil, base_path : String | Nil, repo_token : String | Nil, config_path : String, job_flag_name : String | Nil, parallel : Bool, dry_run : Bool)
Parses the coverage reports in the current directory or the given coverage_file and sends the report to Coveralls API.
Instance Method Detail
def parallel_done(repo_token : String | Nil, config_path : String, carryforward : String | Nil, dry_run : Bool)
#
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.
def report(coverage_file : String | Nil, base_path : String | Nil, repo_token : String | Nil, config_path : String, job_flag_name : String | Nil, parallel : Bool, dry_run : Bool)
#
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.