Repository navigation
ci(release): add Google Colab compatibility check - #453
Open
tachyonicClock wants to merge 2 commits into
Open
tachyonicClock wants to merge 2 commits into
tachyonicClock wants to merge 2 commits into
Conversation
CapyMOA broke on Google Colab without CI catching it, since release.yml only tests with uv sync in a clean venv. The new colab job installs and tests CapyMOA the way a Colab user does: plain pip, no venv, inside the Colab cpu-runtime image. release_pypi now depends on it. Also fix test_bad_infer_java_home, which raised KeyError instead of the intended assertion failure when JAVA_HOME was already unset, as it is in the Colab image. Assisted-by: claude-code:claude-sonnet-5
… steps Manual testing against the Colab cpu-runtime image showed Java is already present and pip install works without the extra setup steps, so drop the conditional Java install, explicit pytest plugin installs, and disk-space cleanup. Switch from a manual `docker pull` + `docker run` pair to a job-level `container:`, which runs the job's steps directly inside the image instead of alongside the runner's own toolchain. Assisted-by: claude-code:claude-sonnet-5
tachyonicClock
force-pushed
the
colab-compat-check
branch
from
October 8, 2026 01:36
54a70de to
b7f495d
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In a previous version of capymoa we had some issues with the Google Colab platform compatibility. This PR tests against Google Colab images on release. Only runs unit tests not tutorials. It was easier to setup, runs faster, but will still catch any environment issues.