Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit d449f27

Browse files
committed
Merge pull request #6 from codacy/add-badges
2 parents 4941b1d + 3b68232 commit d449f27

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
Ruby coverage reporter for Codacy https://www.codacy.com
44

5-
[![Codacy Badge](https://api.codacy.com/project/badge/72a7aaa0e3fd4a8db27607da159d3daa)](https://www.codacy.com/app/Codacy/ruby-codacy-coverage)
5+
[![Codacy Badge](https://api.codacy.com/project/badge/grade/72a7aaa0e3fd4a8db27607da159d3daa)](https://www.codacy.com/app/Codacy/ruby-codacy-coverage)
6+
[![Codacy Badge](https://api.codacy.com/project/badge/coverage/72a7aaa0e3fd4a8db27607da159d3daa)](https://www.codacy.com/app/Codacy/ruby-codacy-coverage)
67
[![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)
8+
[![Gem Version](https://badge.fury.io/rb/codacy-coverage.svg)](https://badge.fury.io/rb/codacy-coverage)
79

810
Parses SimpleCov output and submits the result to Codacy
911

@@ -39,3 +41,22 @@ By default this plugin will not submit results if you run your tests in localhos
3941
```
4042
export CODACY_RUN_LOCAL=true
4143
```
44+
45+
#### Running Tests
46+
47+
When you run your tests, the plugin will send the coverage info to Codacy.
48+
49+
For example, run the following commands:
50+
51+
```
52+
gem install bundler
53+
bundle install
54+
```
55+
56+
This will install the required dependencies. Then just run the tests:
57+
58+
```
59+
bundle exec rspec
60+
```
61+
62+
You can now check your coverage results in the Codacy dashboard of your project.

circle.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
test:
2+
override:
3+
- bundle exec rspec

0 commit comments

Comments
 (0)