Skip to content

Test reporter does not take into account forked repos branch names #452

Open
@j-mie6

Description

@j-mie6

My repo has diff-coverage running on any PR. This has been working great for PRs made within my own repo, but we found today that it doesn't work on a PR from a forked PR. On closer inspection the problem is this:

image

Here we can see three reports from master. However, they are (from top to bottom):

  • Test coverage report due to merge from my repo master up to the forked PR to merge changes
  • Test coverage report running on my master after change
  • Test coverage report from the PR from forked repo

As you can see, there is no distinction between the three test coverage submissions: they all appear to be reporting about master. But there are two different masters here! Really it should be something like j-mie6/master and minut1bc/master like this:

image

Because of this, code climate isn't running the diff-coverage or total-coverage on the PR, which is causing a stall, as diff-coverage is required.

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