Gitlab coverage highlights
Description
Add extra xml format to pytesc-cov so that gitlab can show what parts of the MR code was tested.
This should help avoid discussions if tests are covering specific MR code changes.
Also adds 2 decimal precision to coverage output so that we can more easily track if we add code without tests even on small MRs.
Type
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change)
Issue(s)
Implements nice easy feature to see coverage in gitlab MRs Was implemented following https://docs.gitlab.com/ee/ci/testing/test_coverage_visualization.html#python-example.
Related MRs
Testing
New pipelines on this MR https://gitlab.com/qblox/packages/software/qblox_instruments/-/jobs/4408143664 Now show 2 decimal values: Has does the banner
The MR highlights have been test on another dummy MR I made on top of @mgarcia7293 work that originated this MR
Notes
Merge checklist
-
Cleaned up code (correct alligment/spacing/code-style, no dead code, etc). -
Merge request targets development
branch. -
Assigned assignee (you) and reviewers (team-members). -
Merge request has been reviewed by at least one team-members. -
All pipelines pass, including manually triggered ones.
Edited by Edmundo Ferreira