node-mysql2 icon indicating copy to clipboard operation
node-mysql2 copied to clipboard

ci(coverage): disable Codecov patch

Open wellwelwel opened this issue 1 year ago • 1 comments

This PR doesn't change the previously defined coverage percentages.

Codecov initiates two tests (project and patch). The patch analyzes the percentage file by file, without considering the overall project context, which can cause CI failures even when the project's coverage is in line with the established.

In order to maintain better productivity, this PR quiets the patch CI.

CI examples:

Screenshot 2024-05-14 at 07 55 48 Screenshot 2024-05-14 at 07 54 55

Example of PRs that would be less productive even with proper overall coverage:

  • #1919
  • #2289

wellwelwel avatar May 14 '24 10:05 wellwelwel

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.32%. Comparing base (81736a5) to head (5b08e35).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2674   +/-   ##
=======================================
  Coverage   90.32%   90.32%           
=======================================
  Files          71       71           
  Lines       15727    15727           
  Branches     1339     1340    +1     
=======================================
  Hits        14206    14206           
  Misses       1521     1521           
Flag Coverage Δ
compression-0 90.32% <ø> (ø)
compression-1 90.32% <ø> (ø)
tls-0 89.85% <ø> (ø)
tls-1 90.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 14 '24 10:05 codecov[bot]