Resolve "fix: bad report generated by code coverage CLI helper"
Description
The result of running the following command python ..\sight-git\sight-cov.py -d my_project_name 521 --html
in the project root directory on Windows platform :
Results
Code coverage generated by sight-cov don't show the expected report. The main problem was the selection of the artifact from 'dev' branch (before: choose the last 'dev' pipeline, now: use the git base sha of the desired mr to select the right pipeline for the 'dev' branch). Fix of the algorithm for finding the dev branch artifact (iteration on all dev branch pipelines and check git sha and availability of coverage) Add a --verbose option Use Path from pathlib instead of os.path
How to test it?
Re-executes the command line from the description to get the expected result
Related issue(s)
Closes #83 (closed)
Edited by Nicolas PAPIER