We're happy to announce better support for monorepos, including Carryforward Flags and UI improvements like the Monorepo Layout Setting.
We know you don't want to build every subproject in your monorepo every time one of your teams submits a PR. So from now on, only send coverage reports for the subprojects you’re building in CI. We’ll carry forward the last coverage report for all the other subprojects and calculate total coverage like any other parallel build:
We also know you think about your monorepos differently from users with regular projects, so we've updated our UI with a Monorepo Layout Setting to switch up the layout for monorepos:
This new option labels subprojects clearly and better isolates coverage reporting between them:
First, if you haven't already, opt-in to Carryforward Flags:
Here's how to manually configure an existing parallel build to carry forward some of its existing jobs ✢:
flag-name
to name each job:curl
command:?carryforward=
URL param to the end of that call's URL and append a list of all flag names to be carried forward:✢ Note: Currently, no Coveralls integrations support Carryforward Flags out-of-the-box. We will fix that once we release official support for the feature.