coverage-report-generator
A Bitbucket Pipe that posts Code Insights reports and inline annotations on pull requests from coverage.py, pytest, pylint, and LCOV output.
Highlights
- Multi-format ingestion: coverage.py JSON, pytest summary JSON, pylint text, and LCOV — including multi-platform LCOV via `LCOV_FILES=path=Platform`.
- Auto-detects report files and builds a stable Code Insights report key per type so Bitbucket overwrites cleanly on PR re-runs.
- `ENABLED_REPORTS` toggle keeps free-tier PRs under the 3-report limit; `DRY_RUN` mode allows safe self-tests in CI.
- Picks up `BITBUCKET_WORKSPACE` / `BITBUCKET_REPO_SLUG` / `BITBUCKET_COMMIT` automatically, so consumers wire it in with five lines of YAML.
- Versioned Docker image on Docker Hub (`gajesh/coverage-report-generator`) — every Git tag triggers a build-and-push; semver-pinned for stability.