do_arm: arago ActionHandler contract + action-ws lifecycle parity #229
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] | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| CARGO_INCREMENTAL: 0 | |
| jobs: | |
| check: | |
| name: cargo check + test | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust toolchain (per rust-toolchain.toml) | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: 1.95.0 | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: cargo check --workspace --all-targets | |
| run: cargo check --workspace --all-targets | |
| - name: cargo test --workspace | |
| run: cargo test --workspace | |
| # Exercise the feature-gated surrealql AST walk (lifts DDL -> | |
| # Class via the surrealdb-parser fork). Crate-scoped because the | |
| # parser dep is heavy and not needed by other workspace members; | |
| # gating by feature keeps the default build lean. | |
| - name: cargo test -p ogar-adapter-surrealql --features surrealdb-parser | |
| run: cargo test -p ogar-adapter-surrealql --features surrealdb-parser | |
| # Exercise the `surrealql-hint` feature on ogar-knowable-from | |
| # — auto-renders the schema_ddl_hint via the adapter's | |
| # emit_surrealql_ddl on register_class_knowable_from. Closes the | |
| # self-describing-registry loop (ADR-023 receipt). | |
| - name: cargo test -p ogar-knowable-from --features surrealql-hint | |
| run: cargo test -p ogar-knowable-from --features surrealql-hint | |
| # Exercise the `ttl-parser` feature on ogar-adapter-ttl — pulls | |
| # in oxttl / oxrdf for Turtle parsing. The emit path is feature- | |
| # free, but the round-trip tests need the parser. | |
| - name: cargo test -p ogar-adapter-ttl --features ttl-parser | |
| run: cargo test -p ogar-adapter-ttl --features ttl-parser | |
| # Exercise the `clickhouse-parser` feature on | |
| # ogar-adapter-clickhouse-ddl — pulls in sqlparser-rs with the | |
| # ClickHouseDialect for CREATE TABLE parsing. Same crate-scoped | |
| # gating pattern as the other adapter feature tests. | |
| - name: cargo test -p ogar-adapter-clickhouse-ddl --features clickhouse-parser | |
| run: cargo test -p ogar-adapter-clickhouse-ddl --features clickhouse-parser | |
| # Exercise the `vart-backend` feature on ogar-knowable-from — | |
| # pulls in AdaWorldAPI/vart (versioned adaptive radix trie) as | |
| # the reference KnowableFromStore impl. Same crate-scoped | |
| # pattern as the other feature-gated test steps. Per-PR #25's | |
| # "reference backend" promise, now real. | |
| - name: cargo test -p ogar-knowable-from --features vart-backend | |
| run: cargo test -p ogar-knowable-from --features vart-backend |