I am trying to enable test coverage visualisation on new code by setting coverage report in jacoco format. I am executing unit tests in a job, generating unit-tests coverage report using Kover library (which generates xml report in Jacoco format) and then setting path to the report in artifacts: reports: coverage_report
property. Despite this, I am unable to see coverage visualisation on new code in diff view. Also my pipeline has only two jobs which are passing successfully. Since I’m facing the issue in a live project, I cannot share the codebase due to confidentiality. I’m sharing the screenshot of gitlab job for reference.
It would have been much helpful if Gitlab provided any warnings or errors if there was any issue with the report being set to coverage_report
property but I have no clue what I am doing incorrectly. Appreciate any help