Reduce CI usage#8256
Conversation
macOS runners are slow and for PyPy users should switch to JSON-RPC bindings. We are only running legacy Python tests to test the Rust code behaivor and CFFI, but not the Python bindings, so testing one implementation is enough.
8ec4151 to
19d3485
Compare
|
This means we won't test the CFFI on Macos anymore? Isn't this a problem because Deltachat-iOS uses the CFFI? Or is it fine because we don't change it, so we assume that it will keep working? |
I doubt that it is likely that CFFI suddenly fails on an old method. I don't think its likely that our thin wrapper crate contains something in the older methods that suddenly breaks in newer operating system versions and in newly added methods we would see it during testing if something doesn't work only on macOS. As long as deltachat's C interface keeps not doing platform specific stuff (like not using Objective-C types), I'd say it's fine to just test it on Linux. An alternative could be to only enable macOS CFFI testing on release tags, that would be enough to catch such an unlikely issue while still saving CI time. |
No description provided.