We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c9388e commit f7c0743Copy full SHA for f7c0743
scripts/run-tests.sh
@@ -6,6 +6,7 @@ for path in stapi-fastapi pystapi-validator pystapi-client stapi-pydantic; do
6
name=$(basename "$path")
7
8
set +e
9
+ echo "Running tests for package $name"
10
uv sync --package "$name"
11
uv run --package "$name" --directory "$path" pytest -p no:sugar
12
code=$?
@@ -17,3 +18,7 @@ for path in stapi-fastapi pystapi-validator pystapi-client stapi-pydantic; do
17
18
*) echo " pytest failed in $name (exit $code)"; exit "$code";;
19
esac
20
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