forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserverless.rayci.yml
52 lines (47 loc) · 1.55 KB
/
serverless.rayci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
group: serverless tests
steps:
# builds
- name: serverlessbuild
wanda: ci/docker/serverless.build.wanda.yaml
depends_on: oss-ci-base_build
- wait: ~
depends_on:
- serverlessbuild
- forge
# tests
- label: ":serverless: serverless: python tests"
tags: python
instance_type: medium
commands:
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... serverless
--parallelism-per-worker 3
--except-tags manual,spark_plugin_tests
- label: ":serverless: serverless: spark tests"
tags: python
instance_type: medium
commands:
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... serverless
--build-type debug
--test-env=RAY_ON_SPARK_BACKGROUND_JOB_STARTUP_WAIT=1
--test-env=RAY_ON_SPARK_RAY_WORKER_NODE_STARTUP_INTERVAL=5
--parallelism-per-worker 3
--only-tags spark_plugin_tests
--except-tags kubernetes
- label: ":serverless: serverless: flaky tests"
tags:
- python
- skip-on-premerge
instance_type: medium
soft_fail: true
commands:
- bazel run //ci/ray_ci:test_in_docker -- //... serverless --run-flaky-tests --parallelism-per-worker 3
- label: ":serverless: serverless: ml tests"
tags: python
instance_type: medium
commands:
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/util/dask/... serverless
--build-name mlbuild
--parallelism-per-worker 2
--only-tags client
--test-env=RAY_CLIENT_MODE=1
depends_on: [ "mlbuild", "forge" ]