Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fetch the unit eval commit before checking it out (#42636)

Richard Feldmaneadc2301e08d
diff --git a/script/run-unit-evals b/script/run-unit-evals
index c5178add7a1..adbf9655369 100755
--- a/script/run-unit-evals
+++ b/script/run-unit-evals
@@ -3,7 +3,7 @@
set -euxo pipefail
if [ -n "${UNIT_EVAL_COMMIT:-}" ]; then
- git checkout "$UNIT_EVAL_COMMIT"
+ git fetch origin "$UNIT_EVAL_COMMIT" && git checkout "$UNIT_EVAL_COMMIT"
fi
GPUI_TEST_TIMEOUT=1500 cargo nextest run --workspace --no-fail-fast --features unit-eval --no-capture -E 'test(::eval_)'