Sha256: c412cdca338350bbc843640f8fffec75d2c624418b4bfad4ef0c0b09f6c8069c
Contents?: true
Size: 1.14 KB
Versions: 4
Compression:
Stored size: 1.14 KB
Contents
# ruby-codacy-coverage Ruby coverage reporter for Codacy https://www.codacy.com [![Codacy Badge](https://api.codacy.com/project/badge/72a7aaa0e3fd4a8db27607da159d3daa)](https://www.codacy.com/app/Codacy/ruby-codacy-coverage) [![Build Status](https://circleci.com/gh/codacy/ruby-codacy-coverage.png?style=shield&circle-token=:circle-token)](https://circleci.com/gh/codacy/ruby-codacy-coverage) Parses SimpleCov output and submits the result to Codacy ## Setup Include the gem in your project ``` gem 'codacy-coverage', :require => false ``` In the first line of your spec_helper initialize the reporter: ``` require 'codacy-coverage' Codacy::Reporter.start ``` #### Configuration To update Codacy, you will need your project API token. You can find the token in Project -> Settings -> Integrations -> Project API. Then set it in your terminal, replacing %Project_Token% with your own token: ``` export CODACY_PROJECT_TOKEN=%Project_Token% ``` By default this plugin will not submit results if you run your tests in localhost. If you want to force the submission you can setup the following environment variable: ``` export CODACY_RUN_LOCAL=true ```
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
codacy-coverage-0.2.3 | README.md |
codacy-coverage-0.2.2 | README.md |
codacy-coverage-0.2.1 | README.md |
codacy-coverage-0.2.0 | README.md |