argoproj-labs / hera

Hera is an Argo Python SDK. Hera aims to make construction and submission of various Argo Project resources easy and accessible to everyone! Hera abstracts away low-level setup details while still maintaining a consistent vocabulary with Argo. ⭐️ Remember to star!
https://hera.rtfd.io
Apache License 2.0
550 stars 105 forks source link

Update check-codegen to fail CI if examples not regenerated #1110

Closed elliotgunton closed 2 months ago

elliotgunton commented 2 months ago

Add non-zero exit forcheck-codegen so we stop missing non-regenerated examples in CI e.g. for https://github.com/argoproj-labs/hera/pull/1108 - https://github.com/argoproj-labs/hera/actions/runs/9566065952/job/26370421288 - had the Code is not up-to-date. Please run 'make codegen' message but no failure