pipeline.ml.yml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. - label: ":airplane: AIR tests (ray/air)"
  2. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_ML_AFFECTED"]
  3. instance_size: large
  4. commands:
  5. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  6. - DATA_PROCESSING_TESTING=1 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
  7. - ./ci/env/env_info.sh
  8. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-gpu,-needs_credentials,-hdfs
  9. python/ray/air/...
  10. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=ray_air python/ray/data/...
  11. - label: ":airplane: AIR/ML release smoke tests"
  12. conditions:
  13. [
  14. "NO_WHEELS_REQUIRED",
  15. "RAY_CI_RELEASE_TESTS_AFFECTED",
  16. "RAY_CI_ML_AFFECTED",
  17. "RAY_CI_PYTHON_AFFECTED",
  18. ]
  19. instance_size: large
  20. commands:
  21. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  22. - ./ci/env/env_info.sh
  23. - bazel test --config=ci $(./ci/run/bazel_export_options)
  24. --build_tests_only
  25. --test_tag_filters=team:ml
  26. release/...
  27. - label: ":steam_locomotive: Train tests and examples"
  28. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TRAIN_AFFECTED"]
  29. instance_size: large
  30. parallelism: 2
  31. commands:
  32. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  33. - TRAIN_TESTING=1 DATA_PROCESSING_TESTING=1 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
  34. - ./ci/env/env_info.sh
  35. - ./ci/run/run_bazel_test_with_sharding.sh
  36. --config=ci $(./ci/run/bazel_export_options)
  37. --test_tag_filters=-gpu_only,-gpu,-minimal,-tune,-needs_credentials
  38. python/ray/train/...
  39. - label: ":steam_locomotive: :octopus: Train + Tune tests and examples"
  40. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TRAIN_AFFECTED"]
  41. instance_size: medium
  42. commands:
  43. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  44. - TRAIN_TESTING=1 TUNE_TESTING=1 ./ci/env/install-dependencies.sh
  45. - ./ci/env/env_info.sh
  46. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=tune,-gpu_only,-ray_air,-gpu python/ray/train/...
  47. - label: ":brain: RLlib: Learning tests TF2-static-graph"
  48. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_AFFECTED"]
  49. parallelism: 3
  50. instance_size: large
  51. commands:
  52. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  53. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  54. - ./ci/env/env_info.sh
  55. - ./ci/run/run_bazel_test_with_sharding.sh --config=ci $(./ci/run/bazel_export_options)
  56. --build_tests_only
  57. --test_tag_filters=learning_tests_discrete,crashing_cartpole,stateless_cartpole,learning_tests_continuous,-fake_gpus,-torch_only,-tf2_only,-no_tf_static_graph
  58. --test_arg=--framework=tf rllib/...
  59. - label: ":brain: RLlib: Learning tests TF2-eager-tracing"
  60. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_AFFECTED"]
  61. parallelism: 3
  62. instance_size: large
  63. commands:
  64. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  65. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  66. - ./ci/env/env_info.sh
  67. - ./ci/run/run_bazel_test_with_sharding.sh --config=ci $(./ci/run/bazel_export_options)
  68. --build_tests_only
  69. --test_tag_filters=learning_tests_discrete,learning_tests_continuous,crashing_cartpole,stateless_cartpole,-fake_gpus,-torch_only,-multi_gpu,-no_tf_eager_tracing
  70. --test_arg=--framework=tf2 rllib/...
  71. - label: ":brain: RLlib: Learning tests PyTorch"
  72. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_AFFECTED"]
  73. parallelism: 3
  74. instance_size: large
  75. commands:
  76. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  77. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  78. - ./ci/env/env_info.sh
  79. - ./ci/run/run_bazel_test_with_sharding.sh --config=ci $(./ci/run/bazel_export_options)
  80. --build_tests_only
  81. --test_tag_filters=learning_tests_discrete,crashing_cartpole,stateless_cartpole,learning_tests_continuous,-fake_gpus,-tf_only,-tf2_only,-multi_gpu
  82. --test_arg=--framework=torch rllib/...
  83. - label: ":brain: RLlib: Learning tests w/ 2 fake GPUs TF2-static-graph"
  84. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
  85. instance_size: medium
  86. commands:
  87. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  88. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  89. - ./ci/env/env_info.sh
  90. - bazel test --config=ci $(./ci/run/bazel_export_options)
  91. --build_tests_only
  92. --test_tag_filters=fake_gpus,-torch_only,-tf2_only,-no_tf_static_graph,-multi_gpu
  93. --test_arg=--framework=tf
  94. rllib/...
  95. # TODO: (sven) tf2 (eager) multi-GPU
  96. - label: ":brain: RLlib: Learning tests w/ 2 fake GPUs PyTorch"
  97. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
  98. instance_size: medium
  99. commands:
  100. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  101. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  102. - ./ci/env/env_info.sh
  103. - bazel test --config=ci $(./ci/run/bazel_export_options)
  104. --build_tests_only
  105. --test_tag_filters=fake_gpus,-tf_only,-tf2_only,-multi_gpu
  106. --test_arg=--framework=torch
  107. rllib/...
  108. - label: ":brain: RLlib: Memory leak tests TF2-eager-tracing"
  109. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_AFFECTED"]
  110. instance_size: medium
  111. commands:
  112. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  113. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  114. - ./ci/env/env_info.sh
  115. - bazel test --config=ci $(./ci/run/bazel_export_options)
  116. --build_tests_only
  117. --test_tag_filters=memory_leak_tests,-flaky
  118. --test_arg=--framework=tf2
  119. rllib/...
  120. - label: ":brain: RLlib: Memory leak tests PyTorch"
  121. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_AFFECTED"]
  122. instance_size: medium
  123. commands:
  124. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  125. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  126. - ./ci/env/env_info.sh
  127. - bazel test --config=ci $(./ci/run/bazel_export_options)
  128. --build_tests_only
  129. --test_tag_filters=memory_leak_tests,-flaky
  130. --test_arg=--framework=torch
  131. rllib/...
  132. - label: ":brain: RLlib: Algorithm, Model and other tests"
  133. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
  134. parallelism: 4
  135. instance_size: large
  136. commands:
  137. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  138. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  139. - ./ci/env/env_info.sh
  140. - ./ci/run/run_bazel_test_with_sharding.sh --config=ci $(./ci/run/bazel_export_options)
  141. --build_tests_only
  142. --test_tag_filters=-learning_tests,-memory_leak_tests,-examples,-tests_dir,-documentation,-multi_gpu,-multi_gpu
  143. --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
  144. - label: ":brain: RLlib: RLModule tests"
  145. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
  146. parallelism: 4
  147. instance_size: large
  148. commands:
  149. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  150. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  151. - ./ci/env/env_info.sh
  152. - ./ci/run/run_bazel_test_with_sharding.sh --config=ci $(./ci/run/bazel_export_options)
  153. --build_tests_only
  154. --test_tag_filters=rlm
  155. --test_env=RLLIB_ENABLE_RL_MODULE=1
  156. --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
  157. - label: ":brain: RLlib: Examples"
  158. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_AFFECTED"]
  159. parallelism: 5
  160. instance_size: large
  161. commands:
  162. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  163. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  164. - ./ci/env/env_info.sh
  165. - ./ci/run/run_bazel_test_with_sharding.sh --config=ci $(./ci/run/bazel_export_options) --build_tests_only
  166. --test_tag_filters=examples,-multi_gpu,-gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
  167. - label: ":brain: RLlib: tests/ dir"
  168. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
  169. parallelism: 2
  170. instance_size: large
  171. commands:
  172. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  173. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  174. - ./ci/env/env_info.sh
  175. - ./ci/run/run_bazel_test_with_sharding.sh --config=ci $(./ci/run/bazel_export_options) --build_tests_only
  176. --test_tag_filters=tests_dir,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
  177. - label: ":brain: RLlib: Documentation code/examples"
  178. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
  179. instance_size: medium
  180. commands:
  181. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  182. - RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
  183. - ./ci/env/env_info.sh
  184. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
  185. --test_tag_filters=documentation --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
  186. rllib/...
  187. - label: ":octopus: Tune tests and examples (small)"
  188. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TUNE_AFFECTED"]
  189. instance_size: small
  190. parallelism: 3
  191. commands:
  192. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  193. - TUNE_TESTING=1 ./ci/env/install-dependencies.sh
  194. - ./ci/env/env_info.sh
  195. - ./ci/run/run_bazel_test_with_sharding.sh
  196. --config=ci $(./ci/run/bazel_export_options) --build_tests_only
  197. --test_tag_filters=-medium_instance,-py37,-soft_imports,-gpu_only,-rllib,-multinode
  198. python/ray/tune/...
  199. - label: ":octopus: Tune tests and examples (medium)"
  200. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TUNE_AFFECTED"]
  201. instance_size: medium
  202. commands:
  203. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  204. - TUNE_TESTING=1 ./ci/env/install-dependencies.sh
  205. - ./ci/env/env_info.sh
  206. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
  207. --test_tag_filters=medium_instance,-py37,-soft_imports,-gpu_only,-rllib,-multinode
  208. python/ray/tune/...
  209. - label: ":octopus: :brain: Tune tests and examples {using RLlib}"
  210. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TUNE_AFFECTED", "RAY_CI_RLLIB_AFFECTED"]
  211. instance_size: large
  212. commands:
  213. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  214. - TUNE_TESTING=1 ./ci/env/install-dependencies.sh
  215. - ./ci/env/env_info.sh
  216. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-gpu_only,rllib python/ray/tune/...
  217. - label: ":octopus: Tune tests and examples. Python 3.7"
  218. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TUNE_AFFECTED"]
  219. instance_size: small
  220. commands:
  221. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  222. - TUNE_TESTING=1 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
  223. - ./ci/env/env_info.sh
  224. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=py37,-client python/ray/tune/...
  225. - label: ":octopus: ML library integrations tests and examples. Python 3.7"
  226. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TUNE_AFFECTED"]
  227. instance_size: small
  228. commands:
  229. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  230. - TUNE_TESTING=1 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
  231. - ./ci/env/env_info.sh
  232. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only python/ray/tests/xgboost/...
  233. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only python/ray/tests/horovod/...
  234. - bazel test --config=ci $(./ci/run/bazel_export_options) python/ray/tests/ray_lightning/...
  235. # TODO(amogkam): Re-enable Ludwig tests after Ludwig supports Ray 2.0
  236. #- label: ":octopus: Ludwig tests and examples. Python 3.7"
  237. # conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TUNE_AFFECTED"]
  238. # commands:
  239. # - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  240. # - INSTALL_LUDWIG=1 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
  241. # - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only python/ray/tests/ludwig/...
  242. - label: ":tropical_fish: ML Libraries w/ Ray Client Examples (Python 3.7)."
  243. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_TUNE_AFFECTED"]
  244. instance_size: medium
  245. commands:
  246. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  247. - TUNE_TESTING=1 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
  248. - ./ci/env/env_info.sh
  249. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=client --test_env=RAY_CLIENT_MODE=1 python/ray/util/dask/...
  250. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=client python/ray/tune/...
  251. - label: ":potable_water: Dataset library integrations tests and examples. Python 3.7"
  252. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_PYTHON_AFFECTED"]
  253. instance_size: medium
  254. commands:
  255. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  256. - DATA_PROCESSING_TESTING=1 ./ci/env/install-dependencies.sh
  257. - ./ci/env/env_info.sh
  258. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only python/ray/tests/modin/...
  259. # Dask tests and examples.
  260. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-client python/ray/util/dask/...
  261. - label: ":potable_water: Dataset datasource integration tests (Python 3.7)"
  262. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_PYTHON_AFFECTED", "RAY_CI_DATA_AFFECTED"]
  263. commands:
  264. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  265. - DATA_PROCESSING_TESTING=1 ARROW_VERSION=9.* ARROW_MONGO_VERSION=0.5.* ./ci/env/install-dependencies.sh
  266. - ./ci/env/env_info.sh
  267. - sudo apt-get purge -y mongodb*
  268. - sudo apt-get install -y mongodb
  269. - sudo rm -rf /var/lib/mongodb/mongod.lock
  270. - sudo service mongodb start
  271. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=dataset_integration python/ray/data/...
  272. - sudo service mongodb stop
  273. - sudo apt-get purge -y mongodb*
  274. - label: "Dataset tests (streaming executor)"
  275. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_DATA_AFFECTED"]
  276. instance_size: medium
  277. commands:
  278. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  279. - DATA_PROCESSING_TESTING=1 ARROW_VERSION=7.* ./ci/env/install-dependencies.sh
  280. - ./ci/env/env_info.sh
  281. - bazel test --config=ci $(./ci/run/bazel_export_options) --action_env=RAY_DATASET_USE_STREAMING_EXECUTOR=1 --build_tests_only --test_tag_filters=-dataset_integration python/ray/data/...
  282. - bazel test --config=ci $(./ci/run/bazel_export_options) --action_env=RAY_DATASET_USE_STREAMING_EXECUTOR=1 --build_tests_only --test_tag_filters=ray_data python/ray/air/...
  283. - label: "Dataset tests (Arrow nightly)"
  284. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_PYTHON_AFFECTED", "RAY_CI_DATA_AFFECTED"]
  285. instance_size: medium
  286. commands:
  287. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  288. - ./ci/env/install-java.sh
  289. - DATA_PROCESSING_TESTING=1 ARROW_VERSION=nightly ./ci/env/install-dependencies.sh
  290. - ./ci/env/env_info.sh
  291. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-dataset_integration python/ray/data/...
  292. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=ray_data python/ray/air/...
  293. - label: "Dataset tests (Arrow 10)"
  294. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_PYTHON_AFFECTED", "RAY_CI_DATA_AFFECTED"]
  295. instance_size: medium
  296. commands:
  297. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  298. - ./ci/env/install-java.sh
  299. - DATA_PROCESSING_TESTING=1 ARROW_VERSION=10.* ./ci/env/install-dependencies.sh
  300. - ./ci/env/env_info.sh
  301. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-dataset_integration python/ray/data/...
  302. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=ray_data python/ray/air/...
  303. - label: "Dataset tests (Arrow 9)"
  304. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_PYTHON_AFFECTED", "RAY_CI_DATA_AFFECTED"]
  305. instance_size: medium
  306. commands:
  307. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  308. - ./ci/env/install-java.sh
  309. - DATA_PROCESSING_TESTING=1 ARROW_VERSION=9.* ./ci/env/install-dependencies.sh
  310. - ./ci/env/env_info.sh
  311. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-dataset_integration python/ray/data/...
  312. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=ray_data python/ray/air/...
  313. - label: "Dataset tests (Arrow 8)"
  314. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_PYTHON_AFFECTED", "RAY_CI_DATA_AFFECTED"]
  315. instance_size: medium
  316. commands:
  317. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  318. - ./ci/env/install-java.sh
  319. - DATA_PROCESSING_TESTING=1 ARROW_VERSION=8.* ./ci/env/install-dependencies.sh
  320. - ./ci/env/env_info.sh
  321. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-dataset_integration python/ray/data/...
  322. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=ray_data python/ray/air/...
  323. - label: "Dataset tests (Arrow 7)"
  324. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_PYTHON_AFFECTED", "RAY_CI_DATA_AFFECTED"]
  325. instance_size: medium
  326. commands:
  327. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  328. - ./ci/env/install-java.sh
  329. - DATA_PROCESSING_TESTING=1 ARROW_VERSION=7.* ./ci/env/install-dependencies.sh
  330. - ./ci/env/env_info.sh
  331. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-dataset_integration python/ray/data/...
  332. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=ray_data python/ray/air/...
  333. - label: "Dataset tests (Arrow 6)"
  334. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_PYTHON_AFFECTED", "RAY_CI_DATA_AFFECTED"]
  335. instance_size: medium
  336. commands:
  337. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  338. - ./ci/env/install-java.sh
  339. - DATA_PROCESSING_TESTING=1 ARROW_VERSION=6.* ./ci/env/install-dependencies.sh
  340. - ./ci/env/env_info.sh
  341. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-dataset_integration python/ray/data/...
  342. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=ray_data python/ray/air/...
  343. - label: "Workflow tests"
  344. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_PYTHON_AFFECTED", "RAY_CI_WORKFLOW_AFFECTED"]
  345. instance_size: medium
  346. commands:
  347. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  348. - DATA_PROCESSING_TESTING=1 ./ci/env/install-dependencies.sh
  349. - ./ci/env/env_info.sh
  350. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only python/ray/workflow/...
  351. - label: ":book: Doc tests and examples (excluding Ray AIR examples)"
  352. # Todo: check if we can modify the examples to use Ray with fewer CPUs.
  353. conditions:
  354. ["RAY_CI_PYTHON_AFFECTED", "RAY_CI_TUNE_AFFECTED", "RAY_CI_DOC_AFFECTED", "RAY_CI_SERVE_AFFECTED", "RAY_CI_ML_AFFECTED"]
  355. instance_size: large
  356. commands:
  357. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  358. - DOC_TESTING=1 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
  359. - ./ci/env/env_info.sh
  360. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-timeseries_libs,-ray_air,-gpu,-py37,-post_wheel_build doc/...
  361. - label: ":book: Doc tests and examples with time series libraries"
  362. conditions:
  363. ["RAY_CI_PYTHON_AFFECTED", "RAY_CI_TUNE_AFFECTED", "RAY_CI_DOC_AFFECTED", "RAY_CI_SERVE_AFFECTED", "RAY_CI_ML_AFFECTED"]
  364. instance_size: small
  365. commands:
  366. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  367. - DOC_TESTING=1 INSTALL_TIMESERIES_LIBS=1 ./ci/env/install-dependencies.sh
  368. - ./ci/env/env_info.sh
  369. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=timeseries_libs,-gpu,-py37,-post_wheel_build doc/...
  370. - label: ":book: :airplane: Ray AIR examples"
  371. # Todo: check if this could be a medium test. Last time it failed because of dependency issues.
  372. conditions:
  373. ["RAY_CI_PYTHON_AFFECTED", "RAY_CI_TUNE_AFFECTED", "RAY_CI_DOC_AFFECTED", "RAY_CI_SERVE_AFFECTED", "RAY_CI_ML_AFFECTED"]
  374. instance_size: large
  375. commands:
  376. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  377. - DOC_TESTING=1 ./ci/env/install-dependencies.sh
  378. - ./ci/env/env_info.sh
  379. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=ray_air,-timeseries_libs,-needs_credentials,-gpu,-py37,-post_wheel_build doc/...
  380. - label: ":book: Doc examples with authentication "
  381. conditions: ["NO_WHEELS_REQUIRED", "RAY_CI_BRANCH_BUILD"]
  382. instance_size: medium
  383. commands:
  384. - if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; then exit 0; fi
  385. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  386. - DOC_TESTING=1 ./ci/env/install-dependencies.sh
  387. - ./ci/env/env_info.sh
  388. - python ./ci/env/setup_credentials.py wandb comet_ml
  389. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=needs_credentials,-timeseries_libs,-gpu,-py37,-post_wheel_build doc/...