✅ test: CI workflow running non-integration pytest suite - #50
Open
isabella618033 wants to merge 1 commit into
Open
✅ test: CI workflow running non-integration pytest suite#50isabella618033 wants to merge 1 commit into
isabella618033 wants to merge 1 commit into
Conversation
GitHub Actions runner on push/PR to master + staging. Installs the CPU torch wheel (same version pin as requirements.txt, smaller wheel) so the runner does not need a GPU, then runs `pytest connito/test -m "not integration"` — integration tests still need a real CUDA box and run locally only. Pip cache is keyed on requirements.txt so subsequent runs reuse the heavy transformers/hivemind layers.
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.
Summary
.github/workflows/test.yml— runspytest connito/test -m "not integration"on push/PR tomasterandstaging, plus manualworkflow_dispatch.torch==2.10.0(same version pin asrequirements.txt, smaller wheel) so the GitHub-hosted runner doesn't need a GPU. The follow-uppip install -r requirements.txtsees torch already satisfied and skips it.requirements.txt— heavytransformers/hivemindlayers reused across runs.Integration tests (marked
pytest.mark.integration) still require a real CUDA box per CLAUDE.md and are excluded — they continue to run locally only.Picks up CLAUDE.md's note that
pyproject.toml'stestpathsis wrong, so the workflow points pytest atconnito/test/directly.Test plan
connito/test/pass onubuntu-latestworkflow_dispatchtrigger works from the Actions tab