Skip to content

chore: add additional test coverage

Codecov / codecov/project succeeded Dec 2, 2024 in 0s

51.11% (+0.04%) compared to bfd30f1

View this Pull Request on Codecov

51.11% (+0.04%) compared to bfd30f1

Details

Codecov Report

Attention: Patch coverage is 52.47525% with 48 lines in your changes missing coverage. Please review.

Project coverage is 51.11%. Comparing base (bfd30f1) to head (2934704).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
internal/controller/stages/regular_stages.go 34.78% 12 Missing and 3 partials ⚠️
internal/webhook/promotiontemplate/webhook.go 33.33% 12 Missing ⚠️
internal/api/promote_downstream_v1alpha1.go 62.96% 8 Missing and 2 partials ⚠️
internal/api/promote_to_stage_v1alpha1.go 64.70% 5 Missing and 1 partial ⚠️
cmd/controlplane/webhooks.go 0.00% 3 Missing ⚠️
api/v1alpha1/stage_types.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3022      +/-   ##
==========================================
+ Coverage   51.07%   51.11%   +0.04%     
==========================================
  Files         283      284       +1     
  Lines       25382    25474      +92     
==========================================
+ Hits        12963    13022      +59     
- Misses      11720    11751      +31     
- Partials      699      701       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.