ci: add GitHub Actions workflow#4
Merged
Merged
Conversation
Backend matrix on Python 3.10 and 3.12 — installs with .[dev], runs pytest. Skips tests/test_acm_processing.py in CI because it requires monsees_retarget, a lab-private dependency not available on PyPI. Frontend on Node 20 — npm ci + npm run build (tsc + vite build). Concurrency group cancels superseded runs on the same ref.
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
Adds
.github/workflows/ci.yml— the repo had no CI before this.Backend job. Matrix on Python 3.10 and 3.12. Installs the package via
pip install -e ".[dev]"and runspytest.tests/test_acm_processing.pyis skipped via--ignorebecause it requiresmonsees_retarget(a lab-private dependency not published to PyPI). Everything else runs:test_config_io,test_app,test_mujoco_utils.Frontend job. Node 20.
npm ci+npm run build(which runstsc && vite build). Typecheck is covered by the build script.Concurrency. Group cancels superseded runs on the same ref so that rapid pushes don't queue up redundant jobs.
Triggers on push to
mainand on pull requests targetingmain.Test plan
pytest --ignore=tests/test_acm_processing.py→ 6 passed locally (same invocation CI will run)cd frontend && npm ci && npm run build→ clean build locallyNotes
feat-template-overlay-exportPR — both branches are off the same commit onmain.monsees_retargetbecomes installable in CI (e.g. via a private registry or a sdist on the runner), drop the--ignoreand let those tests run too.