Add per-package coverage
enforcement mechanism
#39339
Labels
EngSys
This issue is impacting the engineering system.
coverage
enforcement mechanism
#39339
@pdhotems has requested that we enforce a minimum code coverage number, below which we will deny the pullrequest.
I didn't receive any specific feedback on the feature itself. I think the way I'd want this to work is to offer a
pyproject.toml
customization that will enable this behavior. That way nobody will be surprised.Here is a section of the
azure-ai-ml
pyproject.toml
Where the overall coverage goal comes from
coverage_limit
, andenforce_coverage
enables this behavior. Opt-in to start.The text was updated successfully, but these errors were encountered: