Skip to content

Commit b09b076

Browse files
authored
[doc] ci: move doc annotation check to python 3.12 (#58507)
be consistent with doc build environment Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
1 parent 8971f83 commit b09b076

File tree

1 file changed

+26
-6
lines changed

1 file changed

+26
-6
lines changed

.buildkite/doc.rayci.yml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ steps:
3636
- doc
3737
- skip-on-premerge
3838

39-
- label: ":book: doc: check python API: {{matrix}}"
39+
- label: ":book: doc: check API annotations"
4040
tags:
4141
- oss
4242
- python
@@ -51,15 +51,35 @@ steps:
5151
- rllib
5252
- rllib_gpu
5353
- doc
54-
key: lint-medium
54+
key: doc_api_annotations
5555
instance_type: medium
5656
depends_on: docbuild
57+
job_env: docbuild-py3.12
58+
commands:
59+
- bash ci/lint/lint.sh api_annotations
60+
61+
- label: ":book: doc: check API doc consistency"
62+
tags:
63+
- oss
64+
- python
65+
- dashboard
66+
- ray_client
67+
- data
68+
- serve
69+
- ml
70+
- tune
71+
- train
72+
- llm
73+
- rllib
74+
- rllib_gpu
75+
- doc
76+
key: doc_api_policy_check
77+
instance_type: medium
78+
depends_on: docbuild
79+
# TODO(aslonnie): migrate to Python 3.12
5780
job_env: docbuild-py3.9
5881
commands:
59-
- ./ci/lint/lint.sh {{matrix}}
60-
matrix:
61-
- api_annotations
62-
- api_policy_check
82+
- bash ci/lint/lint.sh api_policy_check
6383

6484
- label: ":book: doc: linkcheck"
6585
instance_type: medium

0 commit comments

Comments
 (0)