Skip to content

Mandate Extremely High Coverage for Tests Module #202

Description

@medley56

Summary

We should mandate extremely high coverage threshold for the tests module. If tests aren't running or a lot of code is being skipped, that's a problem.

Implementation

Modify the codecov config to add something like this:

# Custom group for tests module with higher threshold
      tests:
        target: 99%  # Very high threshold for test files
        threshold: 1%  # Allow only 1% drop
        paths:
          - "tests/**"  # Adjust this path to match your test directory
        if_no_uploads: error
        only_pulls: false

Activity

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

Metadata

Metadata

Assignees

Labels

devopsRepo configuration and toolinggithub_actionsPull requests that update GitHub Actions codetestingAnything related to tests or testing

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions