Skip to content

ci: run pytest validation suite on push and PR - #22

Draft
amoghmpanhale wants to merge 2 commits into
mainfrom
amoghmpanhale/Test-CI
Draft

ci: run pytest validation suite on push and PR#22
amoghmpanhale wants to merge 2 commits into
mainfrom
amoghmpanhale/Test-CI

Conversation

@amoghmpanhale

Copy link
Copy Markdown
Collaborator

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.

amoghmpanhale and others added 2 commits July 24, 2026 15:09
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>
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

Successfully merging this pull request may close these issues.

1 participant