danger-plugin-codecov
Print coverage report from codecov.io
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
}
})
);