-
Notifications
You must be signed in to change notification settings - Fork 81
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
Switch from CircleCI to GitHub Actions #1030
Comments
Good idea, in addition Github Action has a local runner : https://github.com/nektos/act Maybe it could also speed up local test. |
This RFC will close in 53 hours. For the moment, the consensus is in favour of it, with no change. |
We've moved everything to GH Actions at both the Policy Simulation Library and the UBI Center, very happy with it! |
This RFC has been adopted, thanks to everyone who participated! 😃 |
This was implemented in the Core ecosystem with #1057 on Core, and openfisca/country-template#115 on Country Template. Extension Template, doc and openfisca.org are still on CircleCI. Moving them to GitHub Actions would be welcome for consistency, but this is not a major issue, as the main aim of this change was to increase tests performance. This has been delivered to country packages with #1057. This RFC has thus been implemented, and it will stay here for future reference.
|
RFC
This RFC suggests switching the default CI provider for OpenFisca codebases from CircleCI to GitHub Actions, enabling a 5x performance gain.
Context
Currently, OpenFisca tests in continuous integration run with CircleCI’s free plan. This is the case for OpenFisca Core, but also for the Country Template, and for most known country packages (since they derive from the Country Template).
With the main aim to decrease the duration of France's longer test runs (between 10 and 12 minutes per build), an investigation was led to identify ways to speed up test that could benefit the entire community in #1027.
Some minor ways for improvement were identified and implemented (openfisca/openfisca-france#1649, openfisca/openfisca-france#1650) and relevant ones are or soon will be shared back in the Country Template (openfisca/country-template#113).
However, by far the most effective way to speed up the tests that was identified is to parallelise them.
There is some exploratory work to do this for local tests in #1025. In CI, however, parallelisation has been effective for 4 years (since #516).
Current situation
With CircleCI's free plan for open-source, we can run builds with up to 4x parallelism.
Expected situation
With GitHub Action's free plan for opens-source, we would run builds with up to 20x parallelism.
Expected gains
Expected costs
Expected losses
Workarounds
More information
Decision-making process
The text was updated successfully, but these errors were encountered: