Skip to content

coverage-robot/core

Repository files navigation

The core platform for ingesting, analysing, and publishing coverage data to Version Control platforms.

Description

Coverage Robot is the only code coverage analysis solution specifically engineered for monorepos.

Through the GitHub Action coverage reports from automation tests can be analysed and results reported back on Pull Requests in seconds, and with support for intelligently carrying forward coverage data from previous commits, you never have to run tests for unchanged parts of your code again.

Check out a real Pull Request with coverage analysis directly in the monorepo.

Architecture

architecture.jpg

Folder Structure

The global IaC modules to construct the static parts of the infrastructure (e.g. S3 buckets, event buses, caches, etc).

The shared packages that are used across the microservices.

The independent services which are deployed to handle parts of the pipeline.

Deployment

Theres two key parts of the deployment model of the coverage platform, both of which are handled by Terraform.

Broadly those are:

  1. The global infrastructure which exists outside of any particular service.
  2. The service-specific infrastructure, which is managed by the service itself, and deployed alongside the service.