-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
GitLab Build Status Reporting for PR Builder #6076
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
GitLab Build Status Reporting for PR Builder #6076
Conversation
Was hoping that would rebase the commits, but we need to update this now that #6066 is merged. |
cda0762
to
b4e7834
Compare
@ericholscher Updated the PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems pretty straightforward, and similar to GH. 👍
@@ -356,8 +356,8 @@ def test_send_build_status_task_with_remote_repo(self, send_build_status): | |||
) | |||
self.assertEqual(Message.objects.filter(user=self.eric).count(), 0) | |||
|
|||
@patch('readthedocs.projects.tasks.GitHubService.send_build_status') | |||
def test_send_build_status_task_with_social_account(self, send_build_status): | |||
@patch('readthedocs.oauth.services.github.GitHubService.send_build_status') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did this change? It seems like it was wrong before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we are not directly importing GitHubService
to the tasks we are using project.git_service_class()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was working before because I forgot to remove an unused import of GitHubService
This PR is created on top of #6066. PR: #6066 should be merged first.
ref: #6052