openshift-pipelines / pipelines-as-code

Pipelines-as-Code for Tekton
https://pipelinesascode.com
Apache License 2.0
124 stars 81 forks source link

chore(cel): Add unittests for CEL package #1705

Closed chmouel closed 3 weeks ago

chmouel commented 3 weeks ago

This commit refactors the CEL related functions and moves them from the customparams package to the cel package as the how the folder is named. The function names have been simplified for clarity. Unit tests have been added for the refactored functions. The changes also include updates to the function calls in other packages.

Changes

Submitter Checklist

codecov[bot] commented 3 weeks ago

Codecov Report

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

Project coverage is 64.59%. Comparing base (51cfb93) to head (e57ddf6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1705 +/- ## ========================================== + Coverage 64.58% 64.59% +0.01% ========================================== Files 143 144 +1 Lines 11104 11151 +47 ========================================== + Hits 7171 7203 +32 - Misses 3412 3422 +10 - Partials 521 526 +5 ```

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