Skip to content

[Coverage] add rules for minimum coverage threshold #16

@Bamieh

Description

@Bamieh

Add rules to the .nycrc file to exit(1) when coverage drops in PRs under a certain threshold, thus failing the CI.

Currently the coverage looks like this:

=============================== Coverage summary ===============================
Statements   : 88.46% ( 69/78 )
Branches     : 66.67% ( 8/12 )
Functions    : 84% ( 21/25 )
Lines        : 88.46% ( 69/78 )
================================================================================
Done in 5.14s.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions