Skip to content

[Codecov configuration] PR failing if test coverage went down #1638

Closed

Description

@htynkn

As discuss in mail list: https://lists.apache.org/thread.html/cf55ed71de3ebeaa7db3a6a81ee1a6dc86ceeac2c2b185ea56e6391d@%3Cdev.dubbo.apache.org%3E

For pull request, we ask every pull request has necessary unit test.
Codecov has a feature to fail PR if test coverage went down. Which means for any pull request, if it add some code without any unit test, the PR will fail.
This can help to increase test coverage.

Considering tiny change, we need a threshold value which allow the coverage to drop by X%, and posting a success status. Please find more detail in mail list link

Related links:
https://docs.codecov.io/docs/commit-status
https://github.com/codecov/support/issues/351

Activity

  1. ralf0131 commented on May 15, 2018

    @ralf0131
    Contributor

    Done.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions