mirror of
https://github.com/openai/codex.git
synced 2026-12-05 01:00:54 +00:00
Remove just bench-smoke from just test.
This commit is contained in:
@@ -192,6 +192,12 @@ If you don’t have the tool:
|
||||
|
||||
- `cargo install --locked cargo-insta`
|
||||
|
||||
### Benchmarks
|
||||
|
||||
cargo benchmarks can be run with `just bench`, use the divan crate to schedule them.
|
||||
|
||||
Use `just bench-smoke` to dry-run the benchmark for a single iteration to ensure it works.
|
||||
|
||||
### Test assertions
|
||||
|
||||
- Tests should use pretty_assertions::assert_eq for clearer diffs. Import this at the top of the test module if it isn't already.
|
||||
|
||||
@@ -76,12 +76,10 @@ install:
|
||||
[unix]
|
||||
test *args:
|
||||
RUST_MIN_STACK={{ rust_min_stack }} cargo nextest run --no-fail-fast "$@"
|
||||
just bench-smoke
|
||||
|
||||
[windows]
|
||||
test *args:
|
||||
$env:RUST_MIN_STACK = "{{ rust_min_stack }}"; cargo nextest run --no-fail-fast @($args | Select-Object -Skip 1)
|
||||
just bench-smoke
|
||||
|
||||
# Run from the repository root so scripts that resolve paths from `cwd` see
|
||||
# the same layout they use in GitHub Actions.
|
||||
|
||||
Reference in New Issue
Block a user