-
Notifications
You must be signed in to change notification settings - Fork 149
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
Allow CI failures on Julia nightly builds #776
Conversation
Surprisingly, this seems to have worked first go... |
Does it make sense to enable status check? https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks Maybe use the "loose" one? https://help.github.com/en/github/administering-a-repository/types-of-required-status-checks It's a bit hard to eyeball that only nightly is failing. It's also kind of nice to codify merge policy if it's not too much of a hustle. |
Well I think everyone has been pretty careful about merging, but I enabled some of these required status checks; let's see how they go. |
Maybe I should've clarified the motivation. I was bringing it up as I wasn't sure if I could merge #780 myself until I found this PR. But now that I know the policy (breaking nightly is OK). Anyway, thanks for tweaking the setting. |
Breaking nightly isn't exactly ok :-/ The situation here is that nightly broke us, but the underlying issue in Base is extremely hairy ( I guess the right fix for us (absent a fix in Base) would be to rip out all use of |
Ah, I see. Maybe we can hide it in a @test_broken_if VERSION >= v"1.5-" @allocated(...) == 0 with macro test_broken_if(cond, ex)
quote
if $cond
$Test.@test_broken $ex
else
$Test.@test $ex
end
end |> esc
end ? This way, we can still get the feedback from Julia 1.0 etc. when we have some performance regression. |
Sounds reasonable to me. Hmm, maybe upstream fixed this... oddly enough all tests at #783 seem to have passed. |
That's good news :) |
Actually it looks like @mateuszbaran may have just worked around the new nightly failures? (Thanks!) |
Yes, I have done that: https://github.com/JuliaArrays/StaticArrays.jl/pull/783/files#diff-38c102d503c0e0a7f253cec577d6f26dR80 but |
@mateuszbaran Thanks a lot for fixing this. (One of the not-so-great parts of Test is that |
Agreed. And |
Quick fix (hopefully!) for CI failing on nightly.
Not exactly ideal though, see https://github.saobby.my.eu.orgmunity/t5/GitHub-Actions/continue-on-error-allow-failure-UI-indication/td-p/37033
For reference, the failing job https://github.com/JuliaArrays/StaticArrays.jl/runs/625450952