mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00
[CI]Split C++, Java tests in MacOS from the big one (#26434)
This commit is contained in:
parent
ef1d5c9a97
commit
6ddbdaa81a
2 changed files with 14 additions and 3 deletions
|
@ -61,17 +61,25 @@ steps:
|
|||
- if [ "$BUILDKITE_BRANCH" = "master" ]; then python .buildkite/copy_files.py --destination jars --path ./.jar/darwin; fi
|
||||
|
||||
|
||||
- label: ":mac: :apple: Ray C++, Java and Libraries"
|
||||
- label: ":mac: :apple: Ray Core, Dashboard and Serve"
|
||||
<<: *common
|
||||
conditions: ["RAY_CI_SERVE_AFFECTED", "RAY_CI_CORE_CPP_AFFECTED", "RAY_CI_CPP_AFFECTED", "RAY_CI_JAVA_AFFECTED", "RAY_CI_PYTHON_AFFECTED", "RAY_CI_DASHBOARD_AFFECTED"]
|
||||
conditions: ["RAY_CI_SERVE_AFFECTED", "RAY_CI_CORE_CPP_AFFECTED", "RAY_CI_PYTHON_AFFECTED", "RAY_CI_DASHBOARD_AFFECTED"]
|
||||
commands:
|
||||
- export RAY_INSTALL_JAVA=1
|
||||
- *prelude_commands
|
||||
- TORCH_VERSION=1.6 ./ci/env/install-dependencies.sh
|
||||
# Use --dynamic_mode=off until MacOS CI runs on Big Sur or newer. Otherwise there are problems with running tests
|
||||
# with dynamic linking.
|
||||
- bazel test --config=ci --dynamic_mode=off --test_env=CI $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-post_wheel_build --
|
||||
//:all python/ray/serve/... python/ray/dashboard/... -rllib/... -core_worker_test
|
||||
- *epilogue_commands
|
||||
|
||||
|
||||
- label: ":mac: :apple: Ray C++ and Java"
|
||||
<<: *common
|
||||
conditions: ["RAY_CI_CPP_AFFECTED", "RAY_CI_JAVA_AFFECTED"]
|
||||
commands:
|
||||
- export RAY_INSTALL_JAVA=1
|
||||
- *prelude_commands
|
||||
# clang-format is needed by java/test.sh
|
||||
- pip install clang-format==12.0.1
|
||||
- ./java/test.sh
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
import pytest
|
||||
|
||||
import ray
|
||||
from ray.job_config import JobConfig
|
||||
from ray import serve
|
||||
|
@ -7,6 +9,7 @@ from ray.serve.generated.serve_pb2 import JAVA, RequestMetadata, RequestWrapper
|
|||
from ray.tests.conftest import shutdown_only, maybe_external_redis # noqa: F401
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="TIMEOUT, see https://github.com/ray-project/ray/issues/26513")
|
||||
def test_controller_starts_java_replica(shutdown_only): # noqa: F811
|
||||
ray.init(
|
||||
num_cpus=8,
|
||||
|
|
Loading…
Add table
Reference in a new issue