Skip to content

Commit f7c0743

Browse files
author
Phil Varner
committed
add echo in test run script
1 parent 2c9388e commit f7c0743

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/run-tests.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ for path in stapi-fastapi pystapi-validator pystapi-client stapi-pydantic; do
66
name=$(basename "$path")
77

88
set +e
9+
echo "Running tests for package $name"
910
uv sync --package "$name"
1011
uv run --package "$name" --directory "$path" pytest -p no:sugar
1112
code=$?
@@ -17,3 +18,7 @@ for path in stapi-fastapi pystapi-validator pystapi-client stapi-pydantic; do
1718
*) echo " pytest failed in $name (exit $code)"; exit "$code";;
1819
esac
1920
done
21+
22+
# finally just globally sync, so we don't just have the stapi-pydantic deps
23+
# since this script will commonly be used before commit, and pre-commit is needed then
24+
uv sync

0 commit comments

Comments
 (0)