@nitive/github-bot-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.

Usage no npm install needed!

<script type="module">
  import nitiveGithubBotIstanbulCoverage100 from 'https://cdn.skypack.dev/@nitive/github-bot-istanbul-coverage-100';
</script>

README

Istanbul Coverage 100 Build Status

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

  1. Create github app, ask permissions for Pull Requests and Checks
  2. Set env variables GITHUB_APP_ID and GITHUB_APP_PRIVATE_KEY in travis
  3. Install github-bot-istanbul-coverage-100 as dev dependency
  4. Add --coverage flag to jest to collect coverage on CI
  5. Add json-summary to coverage reporters
  6. Add npx github-bot-istanbul-coverage-100 in after_success script in .travis.yml