Skip to content

Instantly share code, notes, and snippets.

View stevepeak's full-sized avatar

Steve Peak stevepeak

View GitHub Profile
@stevepeak
stevepeak / payload.json
Last active August 29, 2015 14:19
Codecov Webhook Payload - https://codecov.io
{
"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",
@stevepeak
stevepeak / comment.md
Created May 5, 2015 01:46
Example pull request comment on Codecov

[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 
  • How to setup Codecov for #_language_ in 30 seconds
  • How @_company_ uses Codecov to _______
  • Learn how to use the top 5 features of Codecov in 30 seconds
  • Learn how to use the Codecov browser extension in @github
  • Learn how to use _feature_ to enhance your CI testing
  • Even with 15% code coverage: learn how Codecov can improve code quality and promote best coding practices.
  • 5 ways Codecov can make you a stronger programmer
    • visualize the impact of tests
    • provides quick overview to pull request changes
  • ensure tests are written and cover new features
  • How to setup Codecov for #_language_ in 30 seconds
  • How @_company_ uses Codecov to _______
  • Learn how to use the top 5 features of Codecov in 30 seconds
  • Learn how to use the Codecov browser extension in @github
  • Learn how to use _feature_ to enhance your CI testing
  • Even with 15% code coverage: learn how Codecov can improve code quality and promote best coding practices.
  • 5 ways Codecov can make you a stronger programmer
    • visualize the impact of tests
    • provides quick overview to pull request changes
  • ensure tests are written and cover new features
  • How to setup Codecov for #_language_ in 30 seconds
  • How @_company_ uses Codecov to _______
  • Learn how to use the top 5 features of Codecov in 30 seconds
  • Learn how to use the Codecov browser extension in @github
  • Learn how to use _feature_ to enhance your CI testing
  • Even with 15% code coverage: learn how Codecov can improve code quality and promote best coding practices.
  • 5 ways Codecov can make you a stronger programmer
    • visualize the impact of tests
    • provides quick overview to pull request changes
  • ensure tests are written and cover new features
  • How to setup Codecov for #_language_ in 30 seconds
  • How @_company_ uses Codecov to _______
  • Learn how to use the top 5 features of Codecov in 30 seconds
  • Learn how to use the Codecov browser extension in @github
  • Learn how to use _feature_ to enhance your CI testing
  • Even with 15% code coverage: learn how Codecov can improve code quality and promote best coding practices.
  • 5 ways Codecov can make you a stronger programmer
    • visualize the impact of tests
    • provides quick overview to pull request changes
  • ensure tests are written and cover new features
  • How to setup Codecov for #_language_ in 30 seconds
  • How @_company_ uses Codecov to _______
  • Learn how to use the top 5 features of Codecov in 30 seconds
  • Learn how to use the Codecov browser extension in @github
  • Learn how to use _feature_ to enhance your CI testing
  • Even with 15% code coverage: learn how Codecov can improve code quality and promote best coding practices.
  • 5 ways Codecov can make you a stronger programmer
    • visualize the impact of tests
    • provides quick overview to pull request changes
  • ensure tests are written and cover new features
  • Brainstorming education
  • Travel plans
  • File receipts into Xero
  • T-Shirts
  • Research bottle opener logos w @george
  • Buffer tweets
"message": [
{
"severity": "info,warning,error",
"message": "string",
"start_line": "integar",
"start_column": "?integar",
"end_line": "?integar",
"end_column": "?integar"
}
]
@stevepeak
stevepeak / features.md
Last active August 29, 2015 14:25
quick notes on editing features with access_tokens

Overview

The user argument is required. It should the the Github username of the user whom will post the features for private repos. That user (if it's a bot) must grant Codecov private repo access to properly post status and comments.

Comment

curl -X POST https://codecov.io/gh/:owner/:repo/features/comment?access_token=:uuid-token \
     -d 'header=on&graph=off&diff=on&suggestions=on&user=:github-username'