others.rayci.yml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. group: others
  2. depends_on:
  3. - forge
  4. - oss-ci-base_build
  5. steps:
  6. #build
  7. - name: doctestbuild
  8. wanda: ci/docker/doctest.build.wanda.yaml
  9. - label: ":tapioca: build: pip-compile dependencies"
  10. key: pip_compile_dependencies
  11. instance_type: small
  12. commands:
  13. # uncomment the following line to update the pinned versions of pip dependencies
  14. # to the latest versions; otherwise, the pinned versions will be re-used as much
  15. # as possible
  16. # - rm ./python/requirements_compiled.txt
  17. - ./ci/ci.sh compile_pip_dependencies
  18. - cp -f ./python/requirements_compiled.txt /artifact-mount/
  19. soft_fail: true
  20. job_env: oss-ci-base_test-py3.11
  21. depends_on:
  22. - oss-ci-base_test-multipy
  23. # test
  24. - label: doc tests
  25. instance_type: large
  26. commands:
  27. # doc tests
  28. - bazel run //ci/ray_ci:test_in_docker -- //python/ray/... //doc/... none
  29. --build-name doctestbuild
  30. --only-tags doctest
  31. --except-tags gpu
  32. --parallelism-per-worker 3
  33. # doc memory pressure example
  34. - bazel run //ci/ray_ci:test_in_docker -- //doc/... core
  35. --build-name doctestbuild
  36. --only-tags mem_pressure
  37. --except-tags gpu
  38. --skip-ray-installation
  39. depends_on: doctestbuild
  40. - label: ":java: java tests"
  41. tags: java
  42. instance_type: medium
  43. commands:
  44. - bazel run //ci/ray_ci:test_in_docker -- //... core --build-only
  45. - docker run -i --rm --volume /tmp/artifacts:/artifact-mount --shm-size=2.5gb
  46. "$${RAYCI_WORK_REPO}":"$${RAYCI_BUILD_ID}"-corebuild /bin/bash -iecuo pipefail
  47. "./java/test.sh"
  48. depends_on: [ "corebuild", "forge" ]
  49. # bot
  50. - label: ":robot_face: CI weekly green metric"
  51. tags:
  52. - skip-on-premerge
  53. - oss
  54. if: build.branch == "master"
  55. instance_type: small
  56. commands:
  57. - bazel run //ci/ray_ci/automation:weekly_green_metric -- --production
  58. - label: ":robot_face: {{matrix}} microcheck test coverage"
  59. tags:
  60. - skip-on-premerge
  61. - oss
  62. if: build.branch == "master"
  63. instance_type: small
  64. commands:
  65. - bazel run //ci/ray_ci/automation:determine_microcheck_tests -- {{matrix}} 100 --test-prefix linux:__ --production
  66. # we use master branch to determine microcheck tests for darwin and windows, because darwin and windows tests do not run on premerge branches
  67. - bazel run //ci/ray_ci/automation:determine_microcheck_tests -- {{matrix}} 100 --test-prefix darwin:__ --consider-master-branch --production
  68. - bazel run //ci/ray_ci/automation:determine_microcheck_tests -- {{matrix}} 100 --test-prefix windows:__ --consider-master-branch --production
  69. matrix:
  70. - "core"
  71. - "serverless"
  72. - "serve"
  73. - "data"
  74. - "ml"
  75. - "rllib"
  76. - "ci"