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

ENH: Enable Google Colab testing #139

Open
1 of 4 tasks
mmcky opened this issue Apr 11, 2024 · 5 comments
Open
1 of 4 tasks

ENH: Enable Google Colab testing #139

mmcky opened this issue Apr 11, 2024 · 5 comments
Assignees

Comments

@mmcky
Copy link

mmcky commented Apr 11, 2024

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:

  • setup a GitHub action to build using Google Colab Docker environment

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

Lectures

@mmcky
Copy link
Author

mmcky commented May 7, 2024

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
Copy link
Author

mmcky commented May 8, 2024

@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
Copy link

kp992 commented May 8, 2024

@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
Copy link

kp992 commented May 15, 2024

@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
Copy link
Author

mmcky commented May 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants