123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- group: others
- depends_on:
- - forge
- - oss-ci-base_build
- steps:
- #build
- - name: doctestbuild
- wanda: ci/docker/doctest.build.wanda.yaml
- - label: ":tapioca: build: pip-compile dependencies"
- key: pip_compile_dependencies
- instance_type: small
- commands:
- # uncomment the following line to update the pinned versions of pip dependencies
- # to the latest versions; otherwise, the pinned versions will be re-used as much
- # as possible
- # - rm ./python/requirements_compiled.txt
- - ./ci/ci.sh compile_pip_dependencies
- - cp -f ./python/requirements_compiled.txt /artifact-mount/
- soft_fail: true
- job_env: oss-ci-base_test-py3.11
- depends_on:
- - oss-ci-base_test-multipy
- # test
- - label: doc tests
- instance_type: large
- commands:
- # doc tests
- - bazel run //ci/ray_ci:test_in_docker -- //python/ray/... //doc/... none
- --build-name doctestbuild
- --only-tags doctest
- --except-tags gpu
- --parallelism-per-worker 3
- # doc memory pressure example
- - bazel run //ci/ray_ci:test_in_docker -- //doc/... core
- --build-name doctestbuild
- --only-tags mem_pressure
- --except-tags gpu
- --skip-ray-installation
- depends_on: doctestbuild
- - label: ":java: java tests"
- tags: java
- instance_type: medium
- commands:
- - bazel run //ci/ray_ci:test_in_docker -- //... core --build-only
- - docker run -i --rm --volume /tmp/artifacts:/artifact-mount --shm-size=2.5gb
- "$${RAYCI_WORK_REPO}":"$${RAYCI_BUILD_ID}"-corebuild /bin/bash -iecuo pipefail
- "./java/test.sh"
- depends_on: [ "corebuild", "forge" ]
- # bot
- - label: ":robot_face: CI weekly green metric"
- tags:
- - skip-on-premerge
- - oss
- if: build.branch == "master"
- instance_type: small
- commands:
- - bazel run //ci/ray_ci/automation:weekly_green_metric -- --production
- - label: ":robot_face: {{matrix}} microcheck test coverage"
- tags:
- - skip-on-premerge
- - oss
- if: build.branch == "master"
- instance_type: small
- commands:
- - bazel run //ci/ray_ci/automation:determine_microcheck_tests -- {{matrix}} 100 --test-prefix linux:__ --production
- # we use master branch to determine microcheck tests for darwin and windows, because darwin and windows tests do not run on premerge branches
- - bazel run //ci/ray_ci/automation:determine_microcheck_tests -- {{matrix}} 100 --test-prefix darwin:__ --consider-master-branch --production
- - bazel run //ci/ray_ci/automation:determine_microcheck_tests -- {{matrix}} 100 --test-prefix windows:__ --consider-master-branch --production
- matrix:
- - "core"
- - "serverless"
- - "serve"
- - "data"
- - "ml"
- - "rllib"
- - "ci"
|