pipeline.test.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. - label: ":book: LinkCheck"
  2. instance_size: small
  3. commands:
  4. - export LINT=1
  5. - ./ci/env/install-dependencies.sh
  6. - ./ci/ci.sh check_sphinx_links
  7. soft_fail: True
  8. - label: ":python: Release test package unit tests"
  9. conditions: ["ALWAYS"]
  10. instance_size: small
  11. commands:
  12. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  13. - pip install -e release/
  14. - ./ci/env/env_info.sh
  15. - bazel test --config=ci $(./ci/run/bazel_export_options)
  16. --build_tests_only
  17. --test_tag_filters=release_unit
  18. release/...
  19. - label: ":octopus: Tune soft imports test"
  20. conditions: ["RAY_CI_TUNE_AFFECTED"]
  21. instance_size: small
  22. commands:
  23. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  24. # no TUNE_TESTING=1 on purpose
  25. - ./ci/env/install-dependencies.sh
  26. - ./ci/env/env_info.sh
  27. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=soft_imports python/ray/tune/...
  28. - label: ":python: Ray DAG Tests"
  29. conditions:
  30. [
  31. "RAY_CI_PYTHON_AFFECTED",
  32. ]
  33. instance_size: small
  34. commands:
  35. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  36. - pip install -U pydot
  37. - sudo apt-get install -y graphviz
  38. - ./ci/env/env_info.sh
  39. - bazel test --config=ci $(./scripts/bazel_export_options)
  40. --test_tag_filters=ray_dag_tests
  41. python/ray/dag/...
  42. - label: ":toolbox: CI Tools"
  43. conditions: ["RAY_CI_TOOLS_AFFECTED"]
  44. instance_size: small
  45. commands:
  46. - cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
  47. - ./ci/env/install-dependencies.sh
  48. - ./ci/env/env_info.sh
  49. - bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only ci/run/bazel_sharding/...