ci: run pytest validation suite on push and PR - #22
Draft
amoghmpanhale wants to merge 2 commits into
Draft
Conversation
Adds a Tests workflow alongside the existing Ruff lint job. Checks out with lfs: true so MuJoCo can compile the STL meshes (LFS pointer stubs would fail the model compile), installs from requirements.txt, and runs the validation conformance battery. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
CI installs ruff unpinned, so it pulled 0.16.0 and new rules fired that weren't in older versions. Pin ruff==0.16.0 in requirements.txt so CI is deterministic, then fix the findings: - sort imports (I001) in sensor_logger, track_centering, track_centering_demo, conftest, test_conformance, test_logic, test_track_centering - drop unused E402 noqa directives (RUF100) in run.py, track_centering_demo - run.py: yaw was unpacked but unused (RUF059) -> _yaw - track_centering: TrackCenteringConfig() in a default arg (B008) is a shared-mutable footgun -> default None, construct in __init__ Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Adds a Tests workflow alongside the existing Ruff lint job. Checks out with lfs: true so MuJoCo can compile the STL meshes (LFS pointer stubs would fail the model compile), installs from requirements.txt, and runs the validation conformance battery.