Skip to content

Add CI for lint, tests, viewer and wheel - #1

Merged
ryangswe merged 1 commit into
mainfrom
ci
Nov 5, 2026
Merged

ryangswe merged 1 commit into
mainfrom
ci

Conversation

@ryangswe

@ryangswe ryangswe commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Adds a GitHub Actions workflow that runs on every push to main and every pull request.

Python job (3.11 and 3.12). It checks that uv.lock matches pyproject.toml, then installs the locked versions with the CPU build of torch. That keeps runners from downloading about 3 GB of CUDA packages they cannot use. It installs ffmpeg so the rotation test runs, then runs ruff check, ruff format --check and pytest. The opt-in real-model test stays skipped.

Viewer and wheel job. It runs scripts/build.sh, which installs, type-checks and builds the viewer, builds the wheel, and fails if the wheel does not contain the viewer. It then lints the viewer with oxlint.

The README gets a CI badge.

The Python job checks that uv.lock matches pyproject.toml, then installs
the locked versions with the CPU build of torch, so runners skip about
3 GB of CUDA packages. ffmpeg is installed so the rotation test runs.
The opt-in real-model test stays skipped.

The second job builds and type-checks the viewer, builds the wheel,
fails if the wheel lacks the viewer, and lints the viewer source.

Signed-off-by: RDCLder <raymondyang.dev@gmail.com>
@ryangswe
ryangswe merged commit f4ab0c4 into main Nov 5, 2026
3 checks passed
@ryangswe
ryangswe deleted the ci branch November 5, 2026 22:29
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