From 17b54973e3c85e2e1fa60f0edf837017ee03c394 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 17 Apr 2026 17:46:13 +0800 Subject: [PATCH] ci: make repo integrity check uncached and integration-aware --- scripts/ci/repo_integrity_check.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/ci/repo_integrity_check.sh b/scripts/ci/repo_integrity_check.sh index dfd59637..0a6d7708 100755 --- a/scripts/ci/repo_integrity_check.sh +++ b/scripts/ci/repo_integrity_check.sh @@ -23,7 +23,12 @@ check_shell_syntax() { echo "[repo] fact-sources" check_fact_sources "${ROOT_DIR}" check_shell_syntax -run_go_suite "${ROOT_DIR}" "${GO_BIN}" "gateway" "gateway" test ./... -run_go_suite "${ROOT_DIR}" "${GO_BIN}" "platform-token-runtime" "platform-token-runtime" test ./... -run_go_suite "${ROOT_DIR}" "${GO_BIN}" "supply-api unit" "supply-api" test ./... -run_go_suite "${ROOT_DIR}" "${GO_BIN}" "supply-api e2e" "supply-api" test -tags=e2e ./e2e +run_go_suite "${ROOT_DIR}" "${GO_BIN}" "gateway" "gateway" test -count=1 ./... +run_go_suite "${ROOT_DIR}" "${GO_BIN}" "platform-token-runtime" "platform-token-runtime" test -count=1 ./... +run_go_suite "${ROOT_DIR}" "${GO_BIN}" "supply-api unit" "supply-api" test -count=1 ./... +echo "[repo] supply-api repository integration" +( + cd "${ROOT_DIR}/supply-api" + bash scripts/run_integration_tests.sh ./internal/repository +) +run_go_suite "${ROOT_DIR}" "${GO_BIN}" "supply-api e2e" "supply-api" test -count=1 -tags=e2e ./e2e