chore: gitignore CLAUDE.md (keep it local) #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |