@nitive/github-bot-istanbul-coverage-100
v0.1.6
Published
Github bot to ensure that your app have 100% coverage. It checks your coverage report and creates checks in pull requests, send coverage comments and annotate uncovered lines of code.
Downloads
14
Readme
Istanbul Coverage 100
Github bot to ensure that your app have 100% coverage. It checks your coverage report and creates checks in pull requests, send coverage comments and annotate uncovered lines of code.
Get started
- Create github app, ask permissions for Pull Requests and Checks
- Set env variables
GITHUB_APP_ID
andGITHUB_APP_PRIVATE_KEY
in travis - Install
github-bot-istanbul-coverage-100
as dev dependency - Add
--coverage
flag tojest
to collect coverage on CI - Add
json-summary
to coverage reporters - Add
npx github-bot-istanbul-coverage-100
inafter_success
script in .travis.yml