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