Styx splits validation into repo-local workspace checks, portable example smoke tests, optional Docker facade tests, and performance guardrails.
./scripts/check-file-sizes.shcargo fmt -p styx-core-rs -p styx-capture -p styx-codec -p styx-libcamera -p styx -p styx-v4l2 -p styx-examples -- --checkcargo test --workspacecargo clippy --workspace --all-targets -- -D warningsbash ./scripts/check-feature-combinations.shcargo tree -d --workspace --no-default-featurescargo test -p styx-examples --no-default-features --test smokecargo check -p styx-examples --no-default-features --features "async,file-backend,netcam"./scripts/check-perf-smoke.sh
cargo test -p styx --test docker_facade_examples -- --ignored --nocapture
The Docker suite uses testing/docker/styx-facade.Dockerfile and validates virtual-camera facade examples inside a container.
- Backend-specific validation should stay feature-gated and close to the example surface.
- The default GitHub Actions workflow runs formatting, file-size linting, workspace tests, portable example checks, perf smoke, clippy, docs, and package-surface checks.
- File-size linting is warning-only, supports
FILE_SIZE_EXCLUDE_DIRS=path1:path2, and tracks existing oversized files throughtesting/ci/file-size-baseline.txt.