Hi everyone,
Some of you may have noticed a lot of activity in the astropy organization on GitHub around continuous integration configuration in the last few days, so I just wanted to give a quick heads-up about this.
On 2nd November, Travis CI announced that they would, with immediate effect, move all free/open source users of Travis CI to a trial plan with a one-off allocation of 1000 minutes of Linux build time, but that beyond that they would start charging for any usage:
As you can imagine, this is extremely disruptive for us since 1000 minutes wouldn't get us very far (a few typical builds of the core package), and it also doesn't include Mac/Windows builds which we rely on. After reaching out to them, they allocated us additional (one-off) credits which we burned through in a few days. Given that their pricing model would be very expensive for the project, those of us maintaining infrastructure have made the decision to switch to using GitHub Actions as our main CI provider (though we will keep some CircleCI and Azure builds where this makes sense for now).
The core package as well as some of the other packages (e.g photutils, pytest plugins) have now been migrated over to GitHub Actions, and once we are happy with how things are set up we will update the package template to provide an example configuration. In the meantime if you are interested in migrating packages you maintain, looking at e.g. photutils will provide a good example of how things are set up.
This is of course all very frustrating in that it is causing is to spend time trying to unbreak the CI rather than work on other things, and the way Travis CI have handled the transition has been abysmal (effectively providing us with only a few day notice). However this is a harsh reminder that this can happen when relying on free services and that it could well happen again in future. In this case, things were made easier by our migration last year to using tox which meant that a lot of aspects of the test environments are now coded up in a way that is independent of CI provider.
Thanks to everyone who has been helping with this transition To Actions across the project - especially Pey-Lian Lim, Simon Conseil, and Brigitta Sipocz who handle a large fraction of the infrastructure work in the project and keep things running!
Cheers,
Tom