Skip to content

[Feature][python] Add unit test coverage minimum threshold to python API #6870

@zhongjiajie

Description

@zhongjiajie

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

python api's CI for now use pytest to run unit test, but we do not set the minimum threshold of code base. To avoid function error and ensure python api available, I think maybe we should set threshold for test coverage.

Our init idea is to keep coverage up to 90%, let seem if could be work or not. If you have addition or else suggestion, please let me know.

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions