Skip to content

chore: gitignore CLAUDE.md (keep it local) #12

chore: gitignore CLAUDE.md (keep it local)

chore: gitignore CLAUDE.md (keep it local) #12

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
test:
name: build, lint & test (Ubuntu)
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Install Rust (stable)
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Cache cargo & target
uses: Swatinem/rust-cache@v2
- name: Format check
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Build
run: cargo build --release --locked
- name: Test (unit + e2e)
run: cargo test --release --locked
load:
name: load test (Ubuntu, informational)
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Install Rust (stable)
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo & target
uses: Swatinem/rust-cache@v2
# Throughput/latency are reported to the job summary but never asserted —
# CI runners are noisy. The test only fails on correctness invariants
# (wrong answers, excessive drops, broken single-flight).
- name: Run load harness
run: cargo test --release --locked --test load -- --ignored --nocapture