Skip to content

Feature Request: negative trend check #395

@modosc

Description

@modosc

right now it's possible to enforce coverage via the test.coverage.thresholds values. if these are set and the pr causes coverage to drop below these values, the action fails.

however, this makes it hard to introduce coverage/tests in an existing codebase where there are none.

i'd like to add a check which looks at the same numbers you use for calculating the trends and fails when a pr causes coverage to go down. i'm not sure if having thresholds would be useful here - for me, i'd want any negative trend to fail.

does this sound like something useful? if so i'd be happy to open a pr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions