Skip to content
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

Use Azure for CI? #1358

Closed
ivirshup opened this issue Aug 5, 2020 · 2 comments
Closed

Use Azure for CI? #1358

ivirshup opened this issue Aug 5, 2020 · 2 comments
Labels
Enhancement ✨ Needs info❔ More information needed

Comments

@ivirshup
Copy link
Member

ivirshup commented Aug 5, 2020

We've been dealing with long queue times for CI builds. This is at least partially because for each PR four jobs start, each of which takes at least 12 minutes. Since travis gives us at most five concurrent jobs, only one PR can be built at a time. This becomes worse if a PR is based on a branch on the main repo, since CI runs on those too.

Azure offers 10 free concurrent jobs. Seems like an easy win.

  • 10 free concurrent jobs
  • Easier to do multiple checks per build (i.e. linting and testing can happen in the same build, but be independent checks)
  • Output looks easy to navigate, has good integration with github
  • We could test on windows (depending on how hard this is to set up)
  • (possible) Some projects seem to use multiple cores for testing

Cons:

  • New system, will take some time to learn
  • Maybe microsoft will start being evil again
@ivirshup ivirshup added Enhancement ✨ Needs info❔ More information needed labels Aug 5, 2020
@flying-sheep
Copy link
Member

As an alternative: GitHub actions. It’s pretty manual, and I had good experiences with Azure, so I just mention it for completeness’s sake.

@grst
Copy link
Contributor

grst commented Aug 17, 2020

Just my 2cents:
I made really good experiences with Github actions.

  • I find them easy to set-up and they run many (20-40?) jobs in parallel.
  • Really good integration with Github (e.g. upload to PyPI on release)
  • windows testing works well, but it is a pain to setup pycairo, see here and here.

Here's the github actions script for scirpy.

@ivirshup ivirshup closed this as completed Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ✨ Needs info❔ More information needed
Projects
None yet
Development

No branches or pull requests

3 participants