This repository was archived by the owner on Feb 19, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Ruby coverage reporter for Codacy https://www.codacy.com
4
4
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 )
6
7
[ ![ 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 )
7
9
8
10
Parses SimpleCov output and submits the result to Codacy
9
11
@@ -39,3 +41,22 @@ By default this plugin will not submit results if you run your tests in localhos
39
41
```
40
42
export CODACY_RUN_LOCAL=true
41
43
```
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.
Original file line number Diff line number Diff line change
1
+ test :
2
+ override :
3
+ - bundle exec rspec
You can’t perform that action at this time.
0 commit comments