danger-plugin-codecov
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

danger-plugin-codecov

npm version

Print coverage report from codecov.io

assets/result.png

Usage

Install:

yarn add danger-plugin-codecov --dev

At a glance:

// dangerfile.js|ts
import { schedule } from "danger";
import codecov from "danger-plugin-codecov";
 
schedule(codecov());

Options

schedule(
  codecov({
    callback: (baseResult: any, lastCommitResult: any) => {
      // Write your own stuff here with baseResult / lastCommitResult
      // JSON response of codecov.io API
    }
  })
);

Readme

Keywords

Package Sidebar

Install

npm i danger-plugin-codecov

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

7.88 kB

Total Files

4

Last publish

Collaborators

  • haza