Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

chore: add `just test`, which runs `cargo nextest` (#3508)

Michael Bolin90965fbc848b
diff --git a/codex-rs/justfile b/codex-rs/justfile
index e47ad1a2bd..850737efd6 100644
--- a/codex-rs/justfile
+++ b/codex-rs/justfile
@@ -31,6 +31,13 @@ install:
rustup show active-toolchain
cargo fetch
+# Run `cargo nextest` since it's faster than `cargo test`, though including
+# --no-fail-fast is important to ensure all tests are run.
+#
+# Run `cargo install cargo-nextest` if you don't have it installed.
+test:
+ cargo nextest run --no-fail-fast
+
# Run the MCP server
mcp-server-run *args:
cargo run -p codex-mcp-server -- "$@"