Skip to content
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

Github allowing failing branches to be merged to master #353

Closed
missinglink opened this issue Mar 18, 2019 · 3 comments
Closed

Github allowing failing branches to be merged to master #353

missinglink opened this issue Mar 18, 2019 · 3 comments

Comments

@missinglink
Copy link
Member

missinglink commented Mar 18, 2019

@orangejulius I think there is something wrong with our Travis-CI setup here?

Today I merged #347, based off the build status reported on GitHub:

Screenshot 2019-03-18 at 13 59 45

... however, when I look on the Travis-CI site it shows that the build failed!
https://travis-ci.org/pelias/schema/builds/506178432

The good news is that the failure is not critical.

I suspect it was caused when the feature branch was merged or rebased into master, some changes had been made to master between when the feature branch was last touched and when it was merged, and the combination of the two meant that the test assertions needed to be changed.

Do you have any ideas how we might be able to get GitHub to fail in this situation?

@missinglink
Copy link
Member Author

Additionally, when I opened #352 to fix the tests, the PR button instantly showed as green and I was able to merge without waiting for the tests to run in CI.

@orangejulius
Copy link
Member

I'm not sure how it happened, but it appears the link between the Pelias github org and TravisCI may have been broken. I went into the Pelias org settings and checked on TravisCI integration.
image

Eventually I wound up on this screen, where pelias and pelias-deprecated had ❌ next to them. After clicking the "grant permissions" button, things seem to be working better now.

We will have to reset the requirements for merging branches, at lest in this repository. This can be done once Travis runs once for push and PR.

@missinglink
Copy link
Member Author

🎉 awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants