-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Extend test matrix to cover supported versions #5681
Conversation
Not sure about the testing CI/strategy but I tried to extend it to cover all supported versions :) * Test against newest elixir & otp * Test against oldest supported elixir (Changelog and mix say 1.11) and I think we should test against it to avoid accidental brekage * updated patch versions for elixir versions
I know there's also an integration test down there - should that also run on the most recent version or multiple? (maybe lowest and highest or keep as is) |
Test break because a 1.12.0 feature is used:
Should we:
|
Great find @PragTob, let's rewrite it for compatibility! If further issues show up, then we bump it. |
I never liked `then/2` much anyhow :D
✔️ Get the task from José to remove all occurences of |
That didn't fail locally - which is due to me using a newer OTP. I don't think rewriting those is worth it/don't wanna do it. I'll bump CI to OTP 22 and will try to document the version requirement. |
The used `:crypto.mac` API was introduced in OTP 22.1 https://www.erlang.org/doc/man/crypto#mac-4 * bumped CI for 1.11 to 22.3 and so that 22.3 isn't run twice, bumped 1.12 to 23.3 * Documented in Changelog as I saw no other place
No idea why these may fail on 1.16:
|
@PragTob coincidentally Elixir 1.12 requires Erlang/OTP 22, so let's just bump to Elixir 1.12. |
Separate commit in case it's unwanted to have here/it's also a separate addition but I think it'd be nice to have in the README.
@PragTob those are race conditions on log capture. it should be fine otherwise. |
@josevalim yeah the test seems flakey :( About bumping, some questions/clarifications:
Thanks! |
Hrm, thanks for double checking. I thought it was broken from v1.7.0 but only v1.7.10. So let's try to preserve it indeed.
The installer is already on v1.14 or v1.15, so nothing to do in this case. The comment is when we bump the Phoenix requirement above the installer. |
@PragTob the PR looks good to me if you are happy with it. :) |
@josevalim I'm happy with it, thanks! 😁 |
💚 💙 💜 💛 ❤️ |
* Test against newest elixir & otp * Test against oldest supported elixir (Changelog and mix say 1.11) * Updated patch versions for elixir versions * Fix accidental regression breaking elixir 1.11 support (then/2)
* Test against newest elixir & otp * Test against oldest supported elixir (Changelog and mix say 1.11) * Updated patch versions for elixir versions * Fix accidental regression breaking elixir 1.11 support (then/2)
* Test against newest elixir & otp * Test against oldest supported elixir (Changelog and mix say 1.11) * Updated patch versions for elixir versions * Fix accidental regression breaking elixir 1.11 support (then/2)
Not sure about the testing CI/strategy but I tried to extend it to cover all supported versions :)
Thanks as always for your excellent work! 💚