-
Notifications
You must be signed in to change notification settings - Fork 8
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
ENH: Use check for PR instead of status #73
Conversation
I think we do want this, because the text is sometimes too long for the status bar. I'm not sure if you can play with it for all the scenarios but I'd definitely recommend trying it out on a test repository just to get a sense for what this will look like. If you set it up for a test repo, I can try and open some pull requests to see how it behaves :) |
What would this mean in practice besides adding the "checks" tab on the PR? Would the way how the statuses currently are reported back change, so one always need to click to go to the "checks" tab? |
I'm not 100% sure, so it would be nice to see this in action in a test repo |
@astrofrog , pretty sure we tested this in Tucson last year. You were sitting next to me. And we even hi-fived. |
I would imagine it would work like Azure does. I am onboard with this plan, given we already removed the auto-comment builder functionality 😛 |
Oh yeah I do remember testing it now :) We might have to test it again to address some of @Cadair's comments though |
@Cadair 's comment addressed. How do I test this on a test repo? @astrofrog , I remember you doing some magic with the experimental branch, is that the way to go? |
@@ -62,7 +62,7 @@ def invalidate_cache(self): | |||
@property | |||
def _headers(self): | |||
if self.installation is None: | |||
return None | |||
return {} |
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.
I need this change to test stuff without installation number.
Codecov Report
@@ Coverage Diff @@
## master #73 +/- ##
=======================================
- Coverage 82.33% 81.34% -1%
=======================================
Files 16 16
Lines 804 820 +16
=======================================
+ Hits 662 667 +5
- Misses 142 153 +11
Continue to review full report at Codecov.
|
Update: I finally got around to fixing the tests. I think this is ready for a test run on the "experimental" branch. Err... wait, where is the experimental bot? |
I just deployed this on my test giles instance: Cadair/testgiles#2 |
How you liking it? |
It seems to work, I just pushed it out to Giles proper |
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.
Looks good to me. To test this out once merged, we need to push an update to the experimental branch of astropy-bot (after making sure it's up to date with master) and the experimental bot will then be active on the following repository:
@astrofrog , I made |
Follow up of #45 to actually use the
set_check
API.TODO: