code: def _get_ci_tests(prefixes: List[str]) -> List[Test]:
      """
      Get all CI tests.
      """
      tests = []
      for prefix in prefixes:
          tests.extend(Test.gen_from_s3(prefix))
  
      return tests
  
file_path: ray/ci/ray_ci/automation/state_machine_bot.py
imports: import click
  from typing import List
  from ci.ray_ci.utils import logger
  from ray_release.test import Test
  from ray_release.test_automation.ci_state_machine import CITestStateMachine
  from ray_release.configs.global_config import init_global_config
  from ray_release.bazel import bazel_runfile
label_desc: Use image node_id 3 for calling a global function with example usage: _get_ci_tests(prefixes) and returns: tests