dune-community / dune-xt-common

Other
2 stars 3 forks source link

Enable branch protection for master? #55

Closed renefritze closed 6 years ago

renefritze commented 6 years ago

I think we all agreed to do this already. The question now is how strict a setup we want?https://help.github.com/articles/defining-the-mergeability-of-pull-requests

ftalbrecht commented 6 years ago

Without too much thought I would think that

renefritze commented 6 years ago

While I agree on the tests having to pass bit, there's a corner case to consider: https://github.com/dune-community/dune-xt-la/pull/33#issuecomment-366801196 I'm not sure if we can solve this nicely.

Other two points: agreed.

ftalbrecht commented 6 years ago

True. In that case (if getting tests to pass is too difficult) I would think that one other review would at least be nice, though not necessarily mandatory.

renefritze commented 6 years ago

I've enabled protection for master for dune-xt-{la,grid,common,functions} and dune-gdt now. Requiring travis builds is not tunable to include only Push builds. So currently the protection counts for both PR and Push. I guess we'll see how that works for us.