Skip to content

Instantly share code, notes, and snippets.

View codecov-io's full-sized avatar

Codecov codecov-io

View GitHub Profile
[run]
branch = True
source = __YOUR_PROJECT_FOLDER__
[report]
exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
after_success:
- bash <(curl -s https://codecov.io/bash)
@codecov-io
codecov-io / codecov.json
Created June 3, 2015 11:31
Codecov JSON example
{
"coverage": {
"path/to/file.py": [null, 1, 0, null, true, 0, 0, 1, 1],
"path/to/other.py": [null, 0, 1, 1, "1/3", null]
},
"messages": {
"path/to/other.py": {
"1": "custom message for line 1"
}
}
@codecov-io
codecov-io / upload.txt
Created September 1, 2015 18:06
Example output issue for file names not linning up
.travis.yml
Example/AppDelegate.h
Example/AppDelegate.m
Example/Base.lproj/LaunchScreen.xib
Example/Base.lproj/Main.storyboard
Example/Images.xcassets/AppIcon.appiconset/Contents.json
Example/Info.plist
Example/MyAwesomeClass.h
Example/MyAwesomeClass.m
Example/main.m
@codecov-io
codecov-io / comment.md
Created May 19, 2015 21:03
Example pull request comment

[Current coverage][1] is 57.89%

Merging develop into master will change coverage by +5.26% by [dd79892][1]

@@            master     develop   diff @@
==========================================
  Files            4           2     -2
 Stmts 19 19 
{
"commitid": "c074a88f83ce23c9498755f1b95b2d9a07bf0cf2",
"ci": null,
"coverage": "50.0",
"timestamp": "2015-04-21 00:54:47.853879",
"build_url": null,
"default_branch": "master",
"private": false,
"repo": "example-java",
"owner": "codecov",