Created
February 27, 2020 00:54
-
-
Save manakuro/054848ea8dcbfffbf162505bf97fbb68 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// dangerfile.ts | |
import { warn, danger, schedule } from "danger" | |
import { istanbulCoverage } from 'danger-plugin-istanbul-coverage'; | |
// ... | |
schedule( | |
istanbulCoverage({ | |
reportFileSet: 'createdOrModified', | |
coveragePath: { path: './coverage/lcov.info', type: 'lcov' }, | |
reportMode: 'warn', | |
threshold: { | |
statements: 90, | |
branches: 90, | |
functions: 90, | |
lines: 90, | |
}, | |
}) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment