I'm working on a project, where I have a pull request pipeline for a logical monorepo.
For this I'm using the git submodule
functionality to pull a few repositories into mine, and building them.
I use ADO pipelines to build this.
All those repositories are C++
or Rust
based.
We are computing code coverage currently and publishing to ADO.
The next step is differential code coverage.
How could I achieve this.
I went through the learn page for this. But this seem to cover only for a single repository scenario.
Is there a solution for this!
I'm working on a project, where I have a pull request pipeline for a logical monorepo.
For this I'm using the git submodule
functionality to pull a few repositories into mine, and building them.
I use ADO pipelines to build this.
All those repositories are C++
or Rust
based.
We are computing code coverage currently and publishing to ADO.
The next step is differential code coverage.
How could I achieve this.
I went through the learn page for this. But this seem to cover only for a single repository scenario.
Is there a solution for this!
Share Improve this question asked Mar 31 at 6:09 Alen AlexAlen Alex 9994 gold badges17 silver badges32 bronze badges 1- There seems is no good method to generate code coverage report for the submodule repositories together with the main repository. You might need to set up the pipeline to run tests and generate code coverage report for each submodule repository. – Bright Ran-MSFT Commented Mar 31 at 6:55
1 Answer
Reset to default 1As far as I know, there seems is no available method to generate code coverage report for the submodule repositories together with the main repository.
You might need to set up a pipeline for each submodule repository to run tests and generate code coverage report. Then you can try to publish the code coverage reports of all the submodule repositories and the main repository to the same place for a overall view.