Skip to content

Commit b7be126

Browse files
committed
[core] add test rules for container tests
Signed-off-by: Cuong Nguyen <[email protected]>
1 parent 2c7bd7d commit b7be126

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.buildkite/core.rayci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ steps:
6060
- bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... //python/ray/_common/tests/... //python/ray/dag/... //python/ray/autoscaler/v2/... core
6161
--install-mask all-ray-libraries
6262
--workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3
63-
--except-tags debug_tests,asan_tests,post_wheel_build,ha_integration,mem_pressure,tmpfs,container,manual,multi_gpu,spark_on_ray,ray_client,compiled_graphs,dask
63+
--except-tags debug_tests,asan_tests,post_wheel_build,ha_integration,mem_pressure,tmpfs,runtime_env_container,manual,multi_gpu,spark_on_ray,ray_client,compiled_graphs,dask
6464
--install-mask all-ray-libraries
6565

6666
- label: ":ray: core: cgraph python tests"
@@ -86,7 +86,7 @@ steps:
8686
--install-mask all-ray-libraries
8787
--workers 4 --worker-id "{{matrix.worker_id}}" --parallelism-per-worker 3
8888
--python-version {{matrix.python}}
89-
--except-tags debug_tests,asan_tests,post_wheel_build,ha_integration,mem_pressure,tmpfs,container,manual,multi_gpu,spark_on_ray,ray_client,dask
89+
--except-tags debug_tests,asan_tests,post_wheel_build,ha_integration,mem_pressure,tmpfs,runtime_env_container,manual,multi_gpu,spark_on_ray,ray_client,dask
9090
depends_on: corebuild-multipy
9191
matrix:
9292
setup:
@@ -115,7 +115,7 @@ steps:
115115
--install-mask all-ray-libraries
116116
--workers "$${BUILDKITE_PARALLEL_JOB_COUNT}" --worker-id "$${BUILDKITE_PARALLEL_JOB}" --parallelism-per-worker 3
117117
--test-env=TEST_EXTERNAL_REDIS=1
118-
--except-tags debug_tests,asan_tests,post_wheel_build,ha_integration,mem_pressure,tmpfs,container,manual,multi_gpu,spark_on_ray,ray_client,dask
118+
--except-tags debug_tests,asan_tests,post_wheel_build,ha_integration,mem_pressure,tmpfs,runtime_env_container,manual,multi_gpu,spark_on_ray,ray_client,dask
119119

120120
- label: ":ray: core: memory pressure tests"
121121
tags:
@@ -433,10 +433,11 @@ steps:
433433
- raycpubase
434434
- corebuild
435435

436-
- label: ":ray: core: container tests"
436+
- label: ":ray: core: runtime env container tests"
437437
tags:
438438
- python
439439
- docker
440+
- runtime_env_container
440441
- oss
441442
instance_type: medium
442443
commands:
@@ -447,7 +448,7 @@ steps:
447448
# Disable test DB, these tests will never succeed if run in the flaky step.
448449
- RAYCI_DISABLE_TEST_DB=1 bazel run //ci/ray_ci:test_in_docker -- //python/ray/tests/... core
449450
--install-mask all-ray-libraries
450-
--only-tags container
451+
--only-tags runtime_env_container
451452
depends_on:
452453
- manylinux
453454
- forge

ci/pipeline/test_rules.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ python/ray/util/spark/
9999
@ python spark_on_ray
100100
;
101101

102+
python/ray/runtime_env/
103+
@ python runtime_env_container
104+
;
105+
102106
python/
103107
@ ml tune train data
104108
# Python changes might impact cross language stack in Java.

python/ray/tests/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,8 +1090,8 @@ py_test(
10901090
size = "large",
10911091
srcs = ["test_runtime_env_container.py"],
10921092
tags = [
1093-
"container",
10941093
"exclusive",
1094+
"runtime_env_container",
10951095
"team:core",
10961096
],
10971097
deps = [

0 commit comments

Comments
 (0)