feat: use xdist to make make test faster (#30824)

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong
2026-01-29 18:17:40 +08:00
committed by GitHub
parent 25ac69afc5
commit 8aeef36e2d
7 changed files with 59 additions and 3 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ test:
echo "Target: $(TARGET_TESTS)"; \
uv run --project api --dev pytest $(TARGET_TESTS); \
else \
uv run --project api --dev dev/pytest/pytest_unit_tests.sh; \
PYTEST_XDIST_ARGS="-n auto" uv run --project api --dev dev/pytest/pytest_unit_tests.sh; \
fi
@echo "✅ Tests complete"