-
Notifications
You must be signed in to change notification settings - Fork 39
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
Does this work with github actions? #73
Comments
So happy its working for you! I never really intended this project to work in CI - most platforms seem to have their own thing. knapsack seems to be trying to parallelize rspec for CI. I'd be open to adding features to enable this with flatware, if they aren't too much of a departure from the main goal of fast local runs with pretty output. What kind of problems are you seeing trying to get flatware running? did #66 come up? Aren't those machines essentially single core? No idea how you would do this on actions, but it's possible you could distribute via DRb with the |
@briandunn Don't know if this will help, but this command prints all specs:
From there, you can easily divide between X workers |
After a few rounds of banging heads on various service integration (slow feedback loops), I wound up with a working GH Actions CI config.
I wanted to preserve the ability to run the suite without flatware out of an abundance of caution for whatever automated scripts might exist, hence some of those conditionals. I still think there might be more research to be done in the simplecov report combining and formatting realm, esp re: full branch coverage (there are a bunch of open issues on repo, I didn't find obvious solution). The GH actions stock free runners for open source projects tend to have either 2 or 4 cores, so there's some benefit to be had there. Presumably with more substantial configurations it would still work and you'd have even more benefit. I haven't played around yet with the time balancing feature from the persistence file on CI (I assume its working locally) - that may be next step (cache/restore persistence between runs). |
Flatware works like a charm locally, but I've been trying to get this to work with github actions and am having a helluva time. I'd love to see some instructions in the readme for getting flatware working with CI
The text was updated successfully, but these errors were encountered: