Sha256: 882eba2890f3decfc29272fd32257cad8b24532745e269b90b1fd26335124a26

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

[![EdgePetrol](https://circleci.com/gh/EdgePetrol/danger-rcov.svg?style=shield)](https://app.circleci.com/pipelines/github/EdgePetrol/danger-rcov)
![EdgePetrol](https://github.com/EdgePetrol/coverage/blob/master/danger-rcov/master/badge.svg)

# danger-rcov

This plugin will provide an interface similar to codecov.

![Screenshot 2020-06-08 at 22 24 18](https://user-images.githubusercontent.com/756762/84170757-e2b8a700-aa71-11ea-8573-da077ec07267.png)



## Installation

    $ gem install danger-rcov

## Usage

  Inside your Dangerfile:

  ```
    markdown rcov.report(
      current_url: "https://circleci.com/api/v1.1/project/github/#{ENV['CIRCLE_PROJECT_USERNAME']}/#{ENV['CIRCLE_PROJECT_REPONAME']}/#{ENV['CIRCLE_BUILD_NUM']}/artifacts?circle-token=#{ENV['CIRCLE_TOKEN']}",
      master_url: "https://circleci.com/api/v1.1/project/github/#{ENV['CIRCLE_PROJECT_USERNAME']}/#{ENV['CIRCLE_PROJECT_REPONAME']}/latest/artifacts?circle-token=#{ENV['CIRCLE_TOKEN']}&branch=master",
      warning: true # this will warn when the code coverage decrease!
    )
  ```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danger-rcov-2.0.4 README.md