From 8746c2fa37ac54fbb6295d8d7a7a7d8442fe6c38 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Mon, 9 Sep 2024 08:50:10 -0700 Subject: [PATCH] use the right branch for testing --- scripts/test-guidance.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/test-guidance.sh b/scripts/test-guidance.sh index 75623185..88db0c6a 100755 --- a/scripts/test-guidance.sh +++ b/scripts/test-guidance.sh @@ -28,13 +28,14 @@ if test -f ../guidance/tests/unit/test_ll.py ; then else mkdir -p tmp cd tmp - if test -f guidance/tests/unit/test_ll.py ; then - echo "Guidance clone OK" PYTEST_FLAGS=-v + if test -f guidance/tests/unit/test_ll.py ; then + echo "Guidance clone OK" else - git clone -b lazy_grammars https://github.com/hudson-ai/guidance + git clone -b main https://github.com/guidance-ai/guidance fi cd guidance + echo "Branch: $(git branch --show-current), Remote URL: $(git remote get-url origin), HEAD: $(git rev-parse HEAD)" fi python -m pytest $PYTEST_FLAGS tests/unit/test_ll.py # main test