You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 19, 2020. It is now read-only.
Parses SimpleCov output and submits the result to Codacy
8
+
9
+
## Setup
10
+
11
+
Include the gem in your project
12
+
13
+
```
14
+
gem 'codacy-coverage', :require => false
15
+
```
16
+
17
+
In the first line of your spec_helper initialize the reporter:
18
+
19
+
```
20
+
require 'codacy-coverage'
21
+
22
+
Codacy::Reporter.start
23
+
```
24
+
25
+
26
+
#### Configuration
27
+
28
+
To update Codacy, you will need your project API token. You can find the token in Project -> Settings -> Integrations -> Project API.
29
+
30
+
Then set it in your terminal, replacing %Project_Token% with your own token:
31
+
32
+
```
33
+
export CODACY_PROJECT_TOKEN=%Project_Token%
34
+
```
35
+
36
+
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:
0 commit comments