#!/bin/sh # The single CI entry point; run it before every commit. # One check per line: `set -e` doesn't apply on the left of `&&` / `||`, so # chaining would let a failing check pass silently. set -eu cd "$(dirname "$0")/.." cargo fmt --check cargo clippy --all-targets -- -D warnings cargo test # The latency analysis (scripts/latency/): ruff pinned, run through uvx. uvx ruff@0.15.0 format --check scripts/latency uvx ruff@0.15.0 check scripts/latency python3 -m unittest discover -s scripts/latency