QuantEcon / meta

For issues and discussion covering more than one repository
0 stars 0 forks source link

ENH: Enable Google Colab testing #139

Open mmcky opened 5 months ago

mmcky commented 5 months ago

We should run execution tests against Google Colab

I have found this resource

https://research.google.com/colaboratory/local-runtimes.html

appears that we can use the actual docker container used by the Google Colab service.

We can now:

https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container

Lectures

mmcky commented 4 months ago

We can run these jobs on lectures that are backed by EC2 but the docker image is too large for GitHub Actions.

We may need to do a custom runner on a server.

mmcky commented 4 months ago

@kp992 do you have time to think about some solutions on how we might be able to test for google colab.

I have setup a google action workflow https://github.com/QuantEcon/lecture-jax/pull/177/files but this approach won't work for any repos that use github actions to build as the docker container used by google collab appears to be too large. Would you mind to do some testing with google actions workflows to see if you can get this container to work in the github action context.

Happy to link up with you to provide further information. It would be good to get google collab checks incorporated into our intro.quantecon.org lecture series.

kp992 commented 4 months ago

@mmcky Thanks, I will be happy to take a look into this. I will read through some of the links and follow up on this.

kp992 commented 4 months ago

@mmcky Are we planning to move all our testing infra from AWS to Github Actions? If so I can help by picking each lecture series repo one by one.

mmcky commented 4 months ago

@kp992 we will but I want to settle on a robust approach first. Once we do that I would love your help with this