Skip to Content

Contributors

Re: 100 % coverage not enough?

El lun, 11-09-2023 a las 08:41 +0000, Ronald Portier escribió:
The decrease must be an artifact of comparing a branch based on an older version of the main branch, that had less coverage overall, with the current version of the main branch

Maybe coverage can be compared to the latest parent commit of the oldest PR commit? That way, we could be sure if it's really increasing.

by Jairo Llopis - 08:40 - 13 Sep 2023

Reference

  • 100 % coverage not enough?
    Hi all,
    
    
    I submitted a PR with 100% code coverage to the account-invoicing repo.
    
    
    However the branch is red because 100% is apparently not enough. 
    Supposedly the PR would decrease the overall coverage percentage. How??
    
    
    See here: https://github.com/OCA/account-invoicing/pull/1544
    
    
    I think any PR that gets code coverage > 90% (and that does not decrease 
    coverage of an existing module), should get a branch green, but 
    certainly 100%.
    
    
    Kind regards, Ronald
    
    
    

    by "Ronald Portier" <rportier@therp.nl> - 08:56 - 8 Sep 2023