Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

ci(cli): run standalone RPC integration tests

thinhlpgce890c3d489c
diff --git a/.github/workflows/rust-check.yml b/.github/workflows/rust-check.yml
index 2b1048f64..c3a974347 100644
--- a/.github/workflows/rust-check.yml
+++ b/.github/workflows/rust-check.yml
@@ -121,6 +121,13 @@ jobs:
cargo test --locked --manifest-path src-tauri/Cargo.toml \
--no-default-features --features cli --lib -- --test-threads=1
+ # The standalone CLI is not a workspace member. Its binary-level RPC
+ # tests are not run by the app library command above.
+ - name: cargo test (RPC CLI)
+ run: |
+ cargo test --locked --manifest-path src-tauri/jan-cli/Cargo.toml \
+ --no-default-features --features cli --test agent_rpc
+
# The deliverable of the schema work is this guard, not the file: a protocol
# shape that changes without regenerating leaves every consumer validating
# against a document that no longer describes the channel. The unit test in