Skip to content

Commit c101839

Browse files
chore(internal): run tests in an isolated environment
1 parent c94275d commit c101839

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/test

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ export DEFER_PYDANTIC_BUILD=false
6060

6161
function run_tests() {
6262
echo "==> Running tests with Pydantic v2"
63-
uv run --all-extras pytest -W ignore::DeprecationWarning "$@"
63+
uv run --isolated --all-extras pytest -W ignore::DeprecationWarning "$@"
64+
65+
echo "==> Running tests with Pydantic v1"
66+
uv run --isolated --all-extras --group=pydantic-v1 pytest -W ignore::DeprecationWarning "$@"
6467
}
6568

6669
# If UV_PYTHON is already set in the environment, just run the command once

0 commit comments

Comments
 (0)