-
Notifications
You must be signed in to change notification settings - Fork 14
Use GitHub Actions for testing #97
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
base: master
Are you sure you want to change the base?
Conversation
|
This should be a draft PR really, and the scope blew up - GitHub Actions was fiddly to get working with Python 2.7, so I started looking at a Python 3 upgrade (because there was the kernel of dual support there anyway) |
|
Ok I thought I could get away with a cheeky 2->3 port along the way, but this does too much complex bit-twiddling for that to Just Work easily I see two plausible approaches here:
1 is fiddlier - Python 2.7 is old, tooling and infra support is limited. BUT this worked on 2.7, so slowly incrementing from there feels like the best way to not introduce bugs. Option 2 feels far more likely to introduce bugs as part of the porting process, though it would be “easier”. I think the right way forward is to attempt 1, falling back to 2 only if it seems too impractical |
|
I will vote for option 1. since there might be some migration issues on deps (especially Twisted, I think), we can work on the 2to3 first, then deps. |
|
I googled about py27 with Actions. |
|
Thanks! #98 means we now have Python 2.7 automated tests - time to throw a linter or so at it and make it a better Python 2 project...! |
|
Unfortunately flake8 on Python 2.7 isn't identifying any significant issues (beyond the |
|
(I'll keep this open for a bit until I file a porting PR!) |
e1e2343 to
b2f80be
Compare
|
I tried the |
|
ah, the last two ☝️ are included in this PR already. |
|
Fix test_empty_length (https://github.com/somno/einstein/actions/runs/9181914312/job/25249720529#step:6:58) |
|
these patches fix all the rest of testing errors. |
|
fine to go? |
|
bump |
Free Travis CI is no more