Skip to content

EC-237 Add validate input and use policy config

Codecov / codecov/project/ec-cli succeeded Dec 14, 2023 in 1s

82.43% (-1.89%) compared to c777a88

View this Pull Request on Codecov

82.43% (-1.89%) compared to c777a88

Details

Codecov Report

Merging #1213 (e2b64d8) into main (c777a88) will decrease coverage by 1.89%.
The diff coverage is 58.58%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1213      +/-   ##
==========================================
- Coverage   84.31%   82.43%   -1.89%     
==========================================
  Files          67       72       +5     
  Lines        5338     5721     +383     
==========================================
+ Hits         4501     4716     +215     
- Misses        837     1005     +168     
Files Coverage Δ
cmd/validate/definition.go 97.08% <100.00%> (+0.02%) ⬆️
cmd/validate/image.go 97.57% <100.00%> (+2.32%) ⬆️
cmd/validate/validate.go 100.00% <100.00%> (ø)
...ation_snapshot_image/application_snapshot_image.go 72.75% <100.00%> (-0.47%) ⬇️
internal/policy/source/source.go 96.15% <100.00%> (+1.70%) ⬆️
internal/policy/source/git_config.go 78.37% <50.00%> (ø)
internal/validate/helpers.go 74.28% <74.28%> (ø)
internal/policy/policy.go 82.15% <17.64%> (-4.46%) ⬇️
internal/input/validate.go 80.00% <80.00%> (ø)
internal/evaluation_target/input/input.go 0.00% <0.00%> (ø)
... and 2 more