pipeline.yml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. - label: ":ferris_wheel: Wheels and Jars"
  2. conditions:
  3. [
  4. "RAY_CI_LINUX_WHEELS_AFFECTED",
  5. "RAY_CI_JAVA_AFFECTED",
  6. ]
  7. commands:
  8. # Build the wheels and jars
  9. - LINUX_WHEELS=1 LINUX_JARS=1 ./ci/travis/ci.sh build
  10. - bash ./java/build-jar-multiplatform.sh linux
  11. # Upload the wheels and jars
  12. # We don't want to push on PRs, in fact, the copy_files will fail because unauthenticated.
  13. - if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; then exit 0; fi
  14. - pip install -q docker aws_requests_auth boto3
  15. # Upload to branch directory.
  16. - python .buildkite/copy_files.py --destination branch_wheels --path ./.whl
  17. - python .buildkite/copy_files.py --destination branch_jars --path ./.jar/linux
  18. # Upload to latest directory.
  19. - if [ "$BUILDKITE_BRANCH" == "master" ]; then python .buildkite/copy_files.py --destination wheels --path ./.whl; fi
  20. - if [ "$BUILDKITE_BRANCH" == "master" ]; then python .buildkite/copy_files.py --destination jars --path ./.jar/linux; fi
  21. - label: ":ferris_wheel: Post-wheel tests"
  22. conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
  23. commands:
  24. - LINUX_WHEELS=1 ./ci/travis/ci.sh build
  25. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  26. - bazel test --config=ci $(./scripts/bazel_export_options)
  27. --test_tag_filters=post_wheel_build
  28. --test_env=CONDA_EXE
  29. --test_env=CONDA_PYTHON_EXE
  30. --test_env=CONDA_SHLVL
  31. --test_env=CONDA_PREFIX
  32. --test_env=CONDA_DEFAULT_ENV
  33. --test_env=CI
  34. --test_env=RAY_CI_POST_WHEEL_TESTS=True
  35. python/ray/tests/... python/ray/serve/... python/ray/tune/... rllib/... doc/...
  36. - label: ":ferris_wheel: Debug Wheels"
  37. conditions:
  38. [
  39. "RAY_CI_LINUX_WHEELS_AFFECTED",
  40. "RAY_CI_JAVA_AFFECTED",
  41. ]
  42. commands:
  43. # Build the debug wheels
  44. - RAY_DEBUG_BUILD=debug LINUX_WHEELS=1 ./ci/travis/ci.sh build
  45. # Upload the wheels.
  46. # We don't want to push on PRs, in fact, the copy_files will fail because unauthenticated.
  47. - if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; then exit 0; fi
  48. - pip install -q docker aws_requests_auth boto3
  49. # Upload to branch directory.
  50. - python .buildkite/copy_files.py --destination branch_wheels --path ./.whl
  51. # Upload to latest directory.
  52. - if [ "$BUILDKITE_BRANCH" == "master" ]; then python .buildkite/copy_files.py --destination wheels --path ./.whl; fi
  53. # Not working now.
  54. # - label: ":ferris_wheel: ASAN Wheels"
  55. # conditions:
  56. # [
  57. # "RAY_CI_LINUX_WHEELS_AFFECTED",
  58. # "RAY_CI_JAVA_AFFECTED",
  59. # ]
  60. # commands:
  61. # # Build the asan wheels
  62. # - RAY_DEBUG_BUILD=asan LINUX_WHEELS=1 ./ci/travis/ci.sh build
  63. # # Upload the wheels.
  64. # # We don't want to push on PRs, in fact, the copy_files will fail because unauthenticated.
  65. # - if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; then exit 0; fi
  66. # - pip install -q docker aws_requests_auth boto3
  67. # # Upload to branch directory.
  68. # - python .buildkite/copy_files.py --destination branch_wheels --path ./.whl
  69. # # Upload to latest directory.
  70. # - if [ "$BUILDKITE_BRANCH" == "master" ]; then python .buildkite/copy_files.py --destination wheels --path ./.whl; fi
  71. - label: ":docker: Build Images: py36 (1/2)"
  72. conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
  73. commands:
  74. - LINUX_WHEELS=1 ./ci/travis/ci.sh build
  75. - pip install -q docker aws_requests_auth boto3
  76. - if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
  77. - python ./ci/travis/build-docker-images.py --py-versions py36 --device-types cpu cu101 cu102 --build-type BUILDKITE --build-base
  78. - label: ":docker: Build Images: py36 (2/2)"
  79. conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
  80. commands:
  81. - LINUX_WHEELS=1 ./ci/travis/ci.sh build
  82. - pip install -q docker aws_requests_auth boto3
  83. - if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
  84. - python ./ci/travis/build-docker-images.py --py-versions py36 --device-types cu110 cu111 cu112 --build-type BUILDKITE --build-base
  85. - label: ":docker: Build Images: py37 (1/2)"
  86. conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
  87. commands:
  88. - LINUX_WHEELS=1 ./ci/travis/ci.sh build
  89. - pip install -q docker aws_requests_auth boto3
  90. - if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
  91. - python ./ci/travis/build-docker-images.py --py-versions py37 --device-types cpu cu101 cu102 --build-type BUILDKITE --build-base
  92. - label: ":docker: Build Images: py37 (2/2)"
  93. conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
  94. commands:
  95. - LINUX_WHEELS=1 ./ci/travis/ci.sh build
  96. - pip install -q docker aws_requests_auth boto3
  97. - if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
  98. - python ./ci/travis/build-docker-images.py --py-versions py37 --device-types cu110 cu111 cu112 --build-type BUILDKITE --build-base
  99. - label: ":docker: Build Images: py38 (1/2)"
  100. conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
  101. commands:
  102. - LINUX_WHEELS=1 ./ci/travis/ci.sh build
  103. - pip install -q docker aws_requests_auth boto3
  104. - if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
  105. - python ./ci/travis/build-docker-images.py --py-versions py38 --device-types cpu cu101 cu102 --build-type BUILDKITE --build-base
  106. - label: ":docker: Build Images: py38 (2/2)"
  107. conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
  108. commands:
  109. - LINUX_WHEELS=1 ./ci/travis/ci.sh build
  110. - pip install -q docker aws_requests_auth boto3
  111. - if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
  112. - python ./ci/travis/build-docker-images.py --py-versions py38 --device-types cu110 cu111 cu112 --build-type BUILDKITE --build-base
  113. - label: ":docker: Build Images: py39 (1/2)"
  114. conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
  115. commands:
  116. - LINUX_WHEELS=1 ./ci/travis/ci.sh build
  117. - pip install -q docker aws_requests_auth boto3
  118. - if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
  119. - python ./ci/travis/build-docker-images.py --py-versions py39 --device-types cpu cu101 cu102 --build-type BUILDKITE --build-base
  120. - label: ":docker: Build Images: py39 (2/2)"
  121. conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
  122. commands:
  123. - LINUX_WHEELS=1 ./ci/travis/ci.sh build
  124. - pip install -q docker aws_requests_auth boto3
  125. - if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
  126. - python ./ci/travis/build-docker-images.py --py-versions py39 --device-types cu110 cu111 cu112 --build-type BUILDKITE --build-base
  127. - label: ":book: Lint"
  128. commands:
  129. - export LINT=1
  130. - ./ci/travis/install-dependencies.sh
  131. - ./ci/travis/ci.sh lint
  132. - ./ci/travis/ci.sh build
  133. - label: ":java: Java"
  134. conditions: ["RAY_CI_JAVA_AFFECTED"]
  135. commands:
  136. - ./java/test.sh
  137. - label: ":java: :redis: Java"
  138. conditions: ["RAY_CI_JAVA_AFFECTED"]
  139. commands:
  140. - RAY_bootstrap_with_gcs=1 RAY_gcs_grpc_based_pubsub=1 RAY_gcs_storage=memory ./java/test.sh
  141. - label: ":cpp: Ray CPP Worker"
  142. conditions: [ "RAY_CI_CPP_AFFECTED" ]
  143. commands:
  144. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  145. - ./ci/travis/ci.sh test_cpp
  146. - label: ":redis: Ray CPP Worker"
  147. conditions: [ "RAY_CI_CPP_AFFECTED" ]
  148. commands:
  149. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  150. - RAY_bootstrap_with_gcs=1 RAY_gcs_grpc_based_pubsub=1 RAY_gcs_storage=memory ./ci/travis/ci.sh test_cpp
  151. - label: ":cpp: Tests"
  152. conditions: [ "RAY_CI_CORE_CPP_AFFECTED" ]
  153. commands:
  154. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  155. - bazel test --config=ci --config=llvm $(./scripts/bazel_export_options)
  156. --build_tests_only
  157. -- //:all -rllib/... -core_worker_test
  158. - label: ":cpp: Tests (ASAN)"
  159. conditions: [ "RAY_CI_CORE_CPP_AFFECTED" ]
  160. commands:
  161. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  162. - bazel test --config=ci --config=asan-clang $(./scripts/bazel_export_options)
  163. --build_tests_only
  164. --jobs=2
  165. -- //:all -//:core_worker_test
  166. - label: ":cpp: Tests (UBSAN)"
  167. conditions: [ "RAY_CI_CORE_CPP_AFFECTED" ]
  168. commands:
  169. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  170. - bazel test --config=ci --config=ubsan $(./scripts/bazel_export_options)
  171. --build_tests_only
  172. --jobs=2
  173. -- //:all -//:core_worker_test -//:logging_test
  174. - label: ":cpp: Tests (TSAN)"
  175. conditions: [ "RAY_CI_CORE_CPP_AFFECTED" ]
  176. commands:
  177. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  178. - bazel test --config=ci --config=tsan-clang $(./scripts/bazel_export_options)
  179. --build_tests_only
  180. --jobs=2
  181. -- //:all -//:core_worker_test -//:event_test -//:gcs_actor_manager_test
  182. -//:gcs_placement_group_manager_test -//:gcs_placement_group_scheduler_test
  183. -//:gcs_server_rpc_test -//:gcs_server_test
  184. -//:metric_exporter_client_test -//:stats_test -//:worker_pool_test
  185. - label: ":serverless: Dashboard + Serve Tests"
  186. conditions:
  187. [
  188. "RAY_CI_SERVE_AFFECTED",
  189. "RAY_CI_DASHBOARD_AFFECTED",
  190. "RAY_CI_PYTHON_AFFECTED",
  191. ]
  192. commands:
  193. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  194. - TORCH_VERSION=1.6 ./ci/travis/install-dependencies.sh
  195. - 'git clone https://github.com/wg/wrk.git /tmp/wrk && pushd /tmp/wrk && make -j && sudo cp wrk /usr/local/bin && popd'
  196. - ./dashboard/tests/run_ui_tests.sh
  197. - bazel test --config=ci $(./scripts/bazel_export_options) python/ray/dashboard/...
  198. - bazel test --config=ci $(./scripts/bazel_export_options)
  199. --test_tag_filters=-post_wheel_build
  200. python/ray/serve/...
  201. - bazel test --config=ci $(./scripts/bazel_export_options)
  202. --test_tag_filters=team:serve
  203. release/...
  204. - label: ":python: Minimal install"
  205. conditions: ["RAY_CI_PYTHON_AFFECTED"]
  206. commands:
  207. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  208. - ./ci/travis/install-minimal.sh
  209. - ./ci/travis/env_info.sh
  210. - python ./ci/travis/check_minimal_install.py
  211. - bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
  212. python/ray/tests/test_basic
  213. - bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
  214. python/ray/tests/test_basic_2
  215. - bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
  216. python/ray/tests/test_basic_3
  217. - bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
  218. python/ray/tests/test_basic_4
  219. - bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
  220. python/ray/tests/test_basic_5
  221. - bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options)
  222. python/ray/tests/test_output
  223. - bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options)
  224. python/ray/tests/test_runtime_env_ray_minimal
  225. - bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options)
  226. python/ray/tests/test_serve_ray_minimal
  227. - label: ":python: (Small & Client)"
  228. conditions: ["RAY_CI_PYTHON_AFFECTED"]
  229. commands:
  230. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  231. - bazel test --config=ci $(./scripts/bazel_export_options)
  232. --test_tag_filters=client_tests,small_size_python_tests
  233. -- python/ray/tests/...
  234. - label: ":python: (Large)"
  235. conditions: ["RAY_CI_PYTHON_AFFECTED"]
  236. parallelism: 3
  237. commands:
  238. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  239. - . ./ci/travis/ci.sh test_large
  240. - label: ":python: (Medium A-J)"
  241. conditions: ["RAY_CI_PYTHON_AFFECTED"]
  242. commands:
  243. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  244. - bazel test --config=ci $(./scripts/bazel_export_options)
  245. --test_tag_filters=-kubernetes,medium_size_python_tests_a_to_j
  246. python/ray/tests/...
  247. - label: ":python: (Medium K-Z)"
  248. conditions: ["RAY_CI_PYTHON_AFFECTED"]
  249. commands:
  250. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  251. - bazel test --config=ci $(./scripts/bazel_export_options)
  252. --test_tag_filters=-kubernetes,medium_size_python_tests_k_to_z
  253. python/ray/tests/...
  254. - label: ":python: Debug Test"
  255. conditions: ["RAY_CI_PYTHON_AFFECTED"]
  256. commands:
  257. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  258. - pip uninstall -y ray
  259. - RAY_DEBUG_BUILD=debug ./ci/travis/ci.sh build
  260. - bazel test --config=ci-debug $(./scripts/bazel_export_options)
  261. --test_tag_filters=-kubernetes,debug_tests
  262. python/ray/tests/...
  263. - label: ":python: (ASAN tests)"
  264. conditions: ["RAY_CI_PYTHON_AFFECTED"]
  265. commands:
  266. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  267. - RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
  268. - bazel test --config=ci --config=asan $(./scripts/bazel_export_options)
  269. --config=asan-buildkite
  270. --test_tag_filters=-kubernetes,asan_tests
  271. --test_env=CONDA_EXE
  272. --test_env=CONDA_PYTHON_EXE
  273. --test_env=CONDA_SHLVL
  274. --test_env=CONDA_PREFIX
  275. --test_env=CONDA_DEFAULT_ENV
  276. python/ray/tests/...
  277. - label: ":python: (Privileged test)"
  278. conditions: ["RAY_CI_PYTHON_AFFECTED"]
  279. commands:
  280. - LINUX_WHEELS=1 ./ci/travis/ci.sh build
  281. - pip install docker
  282. # We build image ray-worker-container:nightly-py36-cpu which have installed podman,but not push it.
  283. # And we save this image to a tarball, so that we can load it to podman image storage in the
  284. # nested-container which run tests. And in this nested-container, Raylet will start ray worker
  285. # process in double-nested-container.
  286. - python ./ci/travis/build-docker-images.py --py-versions py36 --device-types cpu --build-type BUILDKITE --only-build-worker-container
  287. - mkdir /ray-mount/containers
  288. - docker save -o /ray-mount/containers/images.tar rayproject/ray-worker-container:nightly-py36-cpu
  289. - docker run --rm --privileged -v /ray/containers:/var/lib/containers -v /ray:/ray --entrypoint /bin/bash
  290. rayproject/ray-worker-container:nightly-py36-cpu /ray/ci/travis/test-worker-in-container.sh
  291. - label: ":redis: HA GCS (Dashboard + Serve Tests)"
  292. conditions:
  293. [
  294. "RAY_CI_SERVE_AFFECTED",
  295. "RAY_CI_DASHBOARD_AFFECTED",
  296. "RAY_CI_PYTHON_AFFECTED",
  297. ]
  298. commands:
  299. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  300. - TORCH_VERSION=1.6 ./ci/travis/install-dependencies.sh
  301. - 'git clone https://github.com/wg/wrk.git /tmp/wrk && pushd /tmp/wrk && make -j && sudo cp wrk /usr/local/bin && popd'
  302. - ./dashboard/tests/run_ui_tests.sh
  303. - bazel test --config=ci $(./scripts/bazel_export_options)
  304. --test_env=RAY_gcs_grpc_based_pubsub=1
  305. --test_env=RAY_bootstrap_with_gcs=1
  306. --test_env=RAY_gcs_storage=memory -- //python/ray/dashboard/...
  307. - bazel test --config=ci $(./scripts/bazel_export_options)
  308. --test_tag_filters=-post_wheel_build
  309. --test_env=RAY_gcs_grpc_based_pubsub=1
  310. --test_env=RAY_bootstrap_with_gcs=1
  311. --test_env=RAY_gcs_storage=memory
  312. -- python/ray/serve/...
  313. - bazel test --config=ci $(./scripts/bazel_export_options)
  314. --test_tag_filters=team:serve
  315. --test_env=RAY_gcs_grpc_based_pubsub=1
  316. --test_env=RAY_bootstrap_with_gcs=1
  317. --test_env=RAY_gcs_storage=memory
  318. release/...
  319. - label: ":redis: HA GCS (Small & Client)"
  320. conditions: ["RAY_CI_PYTHON_AFFECTED"]
  321. commands:
  322. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  323. - bazel test --config=ci $(./scripts/bazel_export_options)
  324. --test_tag_filters=client_tests,small_size_python_tests
  325. --test_env=RAY_gcs_grpc_based_pubsub=1
  326. --test_env=RAY_bootstrap_with_gcs=1
  327. --test_env=RAY_gcs_storage=memory
  328. -- python/ray/tests/...
  329. - label: ":redis: HA GCS (Large)"
  330. conditions: ["RAY_CI_PYTHON_AFFECTED"]
  331. parallelism: 3
  332. commands:
  333. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  334. - . ./ci/travis/ci.sh test_large_gcs
  335. - label: ":redis: HA GCS (Medium A-J)"
  336. conditions: ["RAY_CI_PYTHON_AFFECTED"]
  337. commands:
  338. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  339. - bazel test --config=ci $(./scripts/bazel_export_options)
  340. --test_tag_filters=-kubernetes,medium_size_python_tests_a_to_j
  341. --test_env=RAY_gcs_grpc_based_pubsub=1
  342. --test_env=RAY_bootstrap_with_gcs=1
  343. --test_env=RAY_gcs_storage=memory
  344. -- //python/ray/tests/...
  345. - label: ":redis: HA GCS (Medium K-Z)"
  346. conditions: ["RAY_CI_PYTHON_AFFECTED"]
  347. commands:
  348. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  349. - bazel test --config=ci $(./scripts/bazel_export_options)
  350. --test_tag_filters=-kubernetes,medium_size_python_tests_k_to_z
  351. --test_env=RAY_gcs_grpc_based_pubsub=1
  352. --test_env=RAY_bootstrap_with_gcs=1
  353. --test_env=RAY_gcs_storage=memory
  354. -- //python/ray/tests/...
  355. - label: ":octopus: Tune soft imports test"
  356. conditions: ["RAY_CI_TUNE_AFFECTED"]
  357. commands:
  358. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
  359. # no TUNE_TESTING=1 on purpose
  360. - ./ci/travis/install-dependencies.sh
  361. - bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=soft_imports python/ray/tune/...