Skip to content

Add test coverage threshold in CI #51

Description

@shimpeiws

Summary

The CI pipeline measures test coverage but does not enforce a minimum threshold. This means coverage can silently regress without failing the build.

Proposed Approach

  • Add --cov-fail-under=80 to the pytest configuration in pyproject.toml under [tool.pytest.ini_options]
  • This will cause CI to fail if coverage drops below 80%

Affected Files

  • pyproject.toml

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions