chore(ci): split API unit and integration coverage reporting (#34211)

This commit is contained in:
-LAN-
2026-03-30 05:51:51 +08:00
committed by GitHub
parent b36b077d42
commit b642f5c3e5
2 changed files with 126 additions and 12 deletions

View File

@@ -13,4 +13,4 @@ PYTEST_XDIST_ARGS="${PYTEST_XDIST_ARGS:--n auto}"
pytest --timeout "${PYTEST_TIMEOUT}" ${PYTEST_XDIST_ARGS} api/tests/unit_tests --ignore=api/tests/unit_tests/controllers
# Run controller tests sequentially to avoid import race conditions
pytest --timeout "${PYTEST_TIMEOUT}" api/tests/unit_tests/controllers
pytest --timeout "${PYTEST_TIMEOUT}" --cov-append api/tests/unit_tests/controllers