-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test reporter does not take into account forked repos branch names #452
Comments
It's possible that this is due to the action I'm using to upload. (see linked issue), but that would depend on whether or not codeclimate does distinguish between the repo origins regardless. |
Hi @j-mie6 - got it! What's happening here is that you're using identical CC_TEST_REPORTER_ID's in both repos' coverage setup. If you want to view results for both repos at Code Climate, you'll need to:
At that point you'll have 2 repos on Code Climate, each receiving coverage with their unique test reporter IDs. Let me know if you have any questions! Here to help. |
Hi @efueger, thanks for responding! Actually, that's not quite what we mean: we don't want the coverage to run on |
Thanks, @j-mie6. Can you point me to one of those PRs where diff-cov caused the PR to stall? |
I've since force merged them down, but we can make another for you. I'll let you know when we've done this! |
Hey! Here is an example: The branch that it originated from is The test reporter log will be as in the first post, where both test coverage reports will be from Let me know if you need any more information! |
Any news on this @efueger? |
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:
Here we can see three reports from
master
. However, they are (from top to bottom):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 likej-mie6/master
andminut1bc/master
like this: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.
The text was updated successfully, but these errors were encountered: