Manual class path correction for coverage
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Manual class path correction for coverage
Currently, Gitlab supports automatic class path correction when processing coverage reports. This automated detection fails under a number of documented conditions. I would like a way to manually specify the source directories or directory aliases so I can tell gitlab how to resolve them.
Problem to solve
I have been unable to find any recommended fixes for cases where automatic path correction fails. With a monorepo, infrastructure as code, etc, most of my source is several layers deep from the repository root. Due to encapsulation in docker, the base paths are all from the perspective of the docker container instead of the repository.
I have had to write scripts that parse these XML files and change the source to match what gitlab expects it to be. Writing and invoking my own scripts to handle this is an unnecessary pain.
Proposal
Add a source_paths option when specifying artifact reports where I can list known paths that Gitlab should check.
Intended users
Unknown