Files
2026-07-13 13:17:40 +08:00

86 lines
2.7 KiB
YAML

group: others
depends_on:
- forge
steps:
# docs
- name: doctestbuild
wanda: ci/docker/doctest.build.wanda.yaml
depends_on: oss-ci-base_build-multipy(python=3.10)
env:
PYTHON: "3.10"
tags: cibase
- label: doc tests
tags: python
instance_type: large
commands:
# Disable test DB to avoid any hidden failures going forward.
- RAYCI_DISABLE_TEST_DB=1 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
--python-version 3.10
depends_on:
- doctestbuild
- ray-core-build(python=3.10)
- ray-dashboard-build
# java
- label: ":java: java tests"
tags: java
instance_type: medium
commands:
# Java tests need the C++ API for multi-langauge worker tests.
- bazel run //ci/ray_ci:test_in_docker -- //... core --build-type multi-lang --build-only
--python-version 3.10 --build-name corebuild-py3.10
- docker run -i --rm --volume /tmp/artifacts:/artifact-mount --shm-size=2.5gb
"$${RAYCI_WORK_REPO}":"$${RAYCI_BUILD_ID}"-corebuild-py3.10 /bin/bash -iecuo pipefail
"./java/test.sh"
depends_on: corebuild-multipy(python=3.10)
# 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"
- "serve"
- "data"
- "ml"
- "rllib"
- "ci"
- name: fossa-base
wanda: ci/docker/fossa.wanda.yaml
depends_on: forge
- label: "fossa analyze"
key: fossa-analyze
tags:
- skip-on-premerge
- fossa
- oss
instance_type: small
commands:
- bash ci/fossa/analyze.sh
depends_on: fossa-base
job_env: fossa-base