mirror of
https://github.com/vale981/ray
synced 2025-03-04 17:41:43 -05:00
[ci] print out test environment info for all python tests (#27312)
Recently there have been a number of CI test failures due to direct or transitive dependency version upgrades. Printing out environment information for each test suite allows us to quickly check the diff between failed and successful runs. **Notes:** 1. In this PR I just manually added `./ci/env/env_info.sh` to each test suite. We may want to generalize this in the future. 2. This is just for CI now, but is applicable to release tests as well. Signed-off-by: Matthew Deng <matt@anyscale.com>
This commit is contained in:
parent
83fb2fb21d
commit
01d473b355
4 changed files with 91 additions and 3 deletions
|
@ -31,17 +31,16 @@
|
|||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --jobs 2
|
||||
--test_tag_filters=multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
|
||||
|
||||
|
||||
- label: ":tv: :airplane: ML GPU tests (ray/air)"
|
||||
conditions: ["RAY_CI_ML_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- DATA_PROCESSING_TESTING=1 TRAIN_TESTING=1 TUNE_TESTING=1 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
|
||||
- pip install -Ur ./python/requirements_ml_docker.txt
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=gpu python/ray/air/...
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=gpu python/ray/train/...
|
||||
|
||||
|
||||
- label: ":tv: :book: Doc GPU tests and examples"
|
||||
conditions:
|
||||
["RAY_CI_PYTHON_AFFECTED", "RAY_CI_TUNE_AFFECTED", "RAY_CI_DOC_AFFECTED"]
|
||||
|
|
|
@ -15,6 +15,7 @@ prelude_commands: &prelude_commands |-
|
|||
./ci/ci.sh init && source ~/.zshrc
|
||||
./ci/ci.sh build
|
||||
./ci/env/install-dependencies.sh
|
||||
./ci/env/env_info.sh
|
||||
|
||||
epilogue_commands: &epilogue_commands |-
|
||||
# Cleanup runtime environment to save storage
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- DATA_PROCESSING_TESTING=1 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-gpu,-needs_credentials python/ray/air/...
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=ray_air,-gpu_only,-gpu,-needs_credentials python/ray/train/...
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=ray_air python/ray/data/...
|
||||
|
@ -12,36 +13,43 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
--test_tag_filters=learning_tests_discrete,-fake_gpus,-torch_only,-tf2_only,-no_tf_static_graph
|
||||
--test_arg=--framework=tf
|
||||
rllib/...
|
||||
|
||||
- label: ":brain: RLlib: Learning cont. actions TF2-static-graph"
|
||||
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
--test_tag_filters=learning_tests_continuous,-fake_gpus,-torch_only,-tf2_only,-no_tf_static_graph
|
||||
--test_arg=--framework=tf
|
||||
rllib/...
|
||||
|
||||
- label: ":brain: RLlib: Learning discr. actions TF2-eager-tracing"
|
||||
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
--test_tag_filters=learning_tests_discrete,-fake_gpus,-torch_only,-multi_gpu,-no_tf_eager_tracing
|
||||
--test_arg=--framework=tf2
|
||||
rllib/...
|
||||
|
||||
- label: ":brain: RLlib: Learning cont. actions TF2-eager-tracing"
|
||||
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
--test_tag_filters=learning_tests_continuous,-fake_gpus,-torch_only,-multi_gpu,-gpu
|
||||
|
@ -53,37 +61,44 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
--test_tag_filters=learning_tests_discrete,-fake_gpus,-tf_only,-tf2_only,-multi_gpu
|
||||
--test_arg=--framework=torch
|
||||
rllib/...
|
||||
|
||||
- label: ":brain: RLlib: Learning cont. actions PyTorch"
|
||||
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
--test_tag_filters=learning_tests_continuous,-fake_gpus,-tf_only,-tf2_only,-multi_gpu
|
||||
--test_arg=--framework=torch
|
||||
rllib/...
|
||||
|
||||
- label: ":brain: RLlib: Learning tests w/ 2 fake GPUs TF2-static-graph"
|
||||
conditions: ["RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
--test_tag_filters=fake_gpus,-torch_only,-tf2_only,-no_tf_static_graph,-multi_gpu
|
||||
--test_arg=--framework=tf
|
||||
rllib/...
|
||||
|
||||
# TODO: (sven) tf2 (eager) multi-GPU
|
||||
- label: ":brain: RLlib: Learning tests w/ 2 fake GPUs PyTorch"
|
||||
conditions: ["RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
--test_tag_filters=fake_gpus,-tf_only,-tf2_only,-multi_gpu
|
||||
|
@ -95,6 +110,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
--test_tag_filters=memory_leak_tests,-flaky
|
||||
|
@ -106,6 +122,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
--test_tag_filters=memory_leak_tests,-flaky
|
||||
|
@ -128,6 +145,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
# Test all tests in the `algorithms` dir:
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
|
@ -140,6 +158,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
# Test all tests in the `algorithms` dir:
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
|
@ -152,6 +171,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
# Test everything that does not have any of the "main" labels:
|
||||
# "learning_tests|quick_train|examples|tests_dir".
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
|
@ -165,6 +185,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
|
||||
--test_tag_filters=examples_A,examples_B,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
|
||||
|
||||
|
@ -173,13 +194,16 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
|
||||
--test_tag_filters=examples_C_AtoT,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
|
||||
|
||||
- label: ":brain: RLlib: Examples {Cu..Cz}"
|
||||
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
|
||||
--test_tag_filters=examples_C_UtoZ,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
|
||||
|
||||
|
@ -188,6 +212,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
|
||||
--test_tag_filters=examples_D,examples_E,examples_F,examples_G,examples_H,examples_I,examples_J,examples_K,examples_L,examples_M,examples_N,examples_O,examples_P,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
||||
rllib/...
|
||||
|
@ -197,6 +222,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
|
||||
--test_tag_filters=examples_Q,examples_R,examples_S,examples_T,examples_U,examples_V,examples_W,examples_X,examples_Y,examples_Z,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
||||
rllib/...
|
||||
|
@ -206,14 +232,17 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
|
||||
--test_tag_filters=tests_dir_A,tests_dir_B,tests_dir_C,tests_dir_D,tests_dir_E,tests_dir_F,tests_dir_G,tests_dir_H,tests_dir_I,tests_dir_J,tests_dir_K,tests_dir_L --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
||||
rllib/...
|
||||
|
||||
- label: ":brain: RLlib: tests/ dir (M..Z (no R))"
|
||||
conditions: ["RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
|
||||
--test_tag_filters=tests_dir_M,tests_dir_N,tests_dir_O,tests_dir_P,tests_dir_Q,tests_dir_S,tests_dir_T,tests_dir_U,tests_dir_V,tests_dir_W,tests_dir_X,tests_dir_Y,tests_dir_Z,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
||||
rllib/...
|
||||
|
@ -222,6 +251,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
|
||||
--test_tag_filters=tests_dir_R,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
||||
rllib/...
|
||||
|
@ -231,6 +261,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
|
||||
--test_tag_filters=documentation --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
||||
rllib/...
|
||||
|
@ -240,6 +271,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TUNE_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
|
||||
--test_tag_filters=tests_dir_A,tests_dir_B,tests_dir_C,tests_dir_D,tests_dir_E,tests_dir_F,tests_dir_G,tests_dir_H,tests_dir_I,tests_dir_J,tests_dir_K,tests_dir_L,tests_dir_M,tests_dir_N,tests_dir_O,tests_dir_P,tests_dir_Q,tests_dir_R,-example,-py37,-soft_imports,-gpu_only,-rllib
|
||||
python/ray/tune/...
|
||||
|
@ -249,6 +281,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TUNE_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
|
||||
--test_tag_filters=tests_dir_S,tests_dir_T,tests_dir_U,tests_dir_V,tests_dir_W,tests_dir_X,tests_dir_Y,tests_dir_Z,-example,-py37,-soft_imports,-gpu_only,-rllib
|
||||
python/ray/tune/...
|
||||
|
@ -260,6 +293,7 @@
|
|||
- LINUX_WHEELS=1 ./ci/ci.sh build
|
||||
- mkdir -p ~/.docker/cli-plugins/ && curl -SL https://github.com/docker/compose/releases/download/v2.0.1/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose && chmod +x ~/.docker/cli-plugins/docker-compose
|
||||
- pip install -U docker aws_requests_auth boto3
|
||||
- ./ci/env/env_info.sh
|
||||
- python ./ci/build/build-docker-images.py --py-versions py37 --device-types cpu --build-type LOCAL --build-base
|
||||
- python ./ci/build/build-multinode-image.py rayproject/ray:nightly-py37-cpu rayproject/ray:multinode-py37
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only
|
||||
|
@ -280,6 +314,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TUNE_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=example,-tf,-pytorch,-py37,-soft_imports,-gpu_only,-rllib python/ray/tune/...
|
||||
|
||||
- label: ":octopus: Tune examples {w/ tf/pytorch; no RLlib}"
|
||||
|
@ -287,6 +322,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TUNE_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=tf,-pytorch,-py37,-soft_imports,-gpu_only,-rllib python/ray/tune/...
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-tf,pytorch,-py37,-soft_imports,-gpu_only,-rllib python/ray/tune/...
|
||||
|
||||
|
@ -295,6 +331,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TUNE_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-gpu_only,rllib python/ray/tune/...
|
||||
|
||||
- label: ":steam_locomotive: Train tests and examples"
|
||||
|
@ -302,6 +339,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TRAIN_TESTING=1 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-gpu_only,-minimal,-tune,-ray_air python/ray/train/...
|
||||
|
||||
- label: ":steam_locomotive: :octopus: Train + Tune tests and examples"
|
||||
|
@ -309,6 +347,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TRAIN_TESTING=1 TUNE_TESTING=1 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=tune,-gpu_only,-ray_air python/ray/train/...
|
||||
|
||||
- label: ":octopus: Tune tests and examples. Python 3.7"
|
||||
|
@ -316,6 +355,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TUNE_TESTING=1 PYTHON=3.7 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=py37,-client python/ray/tune/...
|
||||
|
||||
- label: ":octopus: ML library integrations tests and examples. Python 3.7"
|
||||
|
@ -323,6 +363,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TUNE_TESTING=1 PYTHON=3.7 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only python/ray/tests/xgboost/...
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only python/ray/tests/horovod/...
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) python/ray/tests/ray_lightning/...
|
||||
|
@ -341,6 +382,7 @@
|
|||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TUNE_TESTING=1 PYTHON=3.7 INSTALL_HOROVOD=1 ./ci/env/install-dependencies.sh
|
||||
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/ci.sh build
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=client --test_env=RAY_CLIENT_MODE=1 python/ray/util/dask/...
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=client python/ray/tune/...
|
||||
|
||||
|
@ -349,6 +391,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- DATA_PROCESSING_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only python/ray/tests/modin/...
|
||||
# Dask tests and examples.
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-client python/ray/util/dask/...
|
||||
|
@ -358,6 +401,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- DATA_PROCESSING_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-ray_air python/ray/data/...
|
||||
|
||||
- label: ":potable_water: Workflow tests (Python 3.7)"
|
||||
|
@ -365,6 +409,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- DATA_PROCESSING_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only python/ray/workflow/...
|
||||
|
||||
- label: ":slot_machine: ML Utils tests"
|
||||
|
@ -372,6 +417,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TUNE_TESTING=1 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only python/ray/util/ml_utils/...
|
||||
|
||||
- label: ":book: Doc tests and examples (excluding Ray AIR examples)"
|
||||
|
@ -380,6 +426,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- DOC_TESTING=1 INSTALL_HOROVOD=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=-ray_air,-gpu,-py37,-post_wheel_build doc/...
|
||||
|
||||
- label: ":book: :airplane: Ray AIR examples"
|
||||
|
@ -388,6 +435,7 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- DOC_TESTING=1 PYTHON=3.7 ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- python ./ci/env/setup_credentials.py wandb comet_ml
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=ray_air,-gpu,-py37,-post_wheel_build doc/...
|
||||
- python ./ci/env/cleanup_test_state.py wandb comet_ml
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
# We don't want to push on PRs, in fact, the copy_files will fail because unauthenticated.
|
||||
- if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; then exit 0; fi
|
||||
- pip install -q docker aws_requests_auth boto3
|
||||
- ./ci/env/env_info.sh
|
||||
# Upload to branch directory.
|
||||
- python .buildkite/copy_files.py --destination branch_wheels --path ./.whl
|
||||
- python .buildkite/copy_files.py --destination branch_jars --path ./.jar/linux
|
||||
|
@ -24,6 +25,7 @@
|
|||
commands:
|
||||
- LINUX_WHEELS=1 ./ci/ci.sh build
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--test_tag_filters=post_wheel_build
|
||||
--test_env=CONDA_EXE
|
||||
|
@ -48,6 +50,7 @@
|
|||
# We don't want to push on PRs, in fact, the copy_files will fail because unauthenticated.
|
||||
- if [ "$BUILDKITE_PULL_REQUEST" != "false" ]; then exit 0; fi
|
||||
- pip install -q docker aws_requests_auth boto3
|
||||
- ./ci/env/env_info.sh
|
||||
# Upload to branch directory.
|
||||
- python .buildkite/copy_files.py --destination branch_wheels --path ./.whl
|
||||
# Upload to latest directory.
|
||||
|
@ -77,6 +80,7 @@
|
|||
commands:
|
||||
- LINUX_WHEELS=1 ./ci/ci.sh build
|
||||
- pip install -q docker aws_requests_auth boto3
|
||||
- ./ci/env/env_info.sh
|
||||
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
||||
- python ./ci/build/build-docker-images.py --py-versions py36 --device-types cpu cu101 cu102 cu110 --build-type BUILDKITE --build-base
|
||||
|
||||
|
@ -85,6 +89,7 @@
|
|||
commands:
|
||||
- LINUX_WHEELS=1 ./ci/ci.sh build
|
||||
- pip install -q docker aws_requests_auth boto3
|
||||
- ./ci/env/env_info.sh
|
||||
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
||||
- python ./ci/build/build-docker-images.py --py-versions py36 --device-types cu111 cu112 --build-type BUILDKITE --build-base
|
||||
|
||||
|
@ -93,6 +98,7 @@
|
|||
commands:
|
||||
- LINUX_WHEELS=1 ./ci/ci.sh build
|
||||
- pip install -q docker aws_requests_auth boto3
|
||||
- ./ci/env/env_info.sh
|
||||
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
||||
- python ./ci/build/build-docker-images.py --py-versions py37 --device-types cpu cu101 cu102 cu110 --build-type BUILDKITE --build-base
|
||||
|
||||
|
@ -101,6 +107,7 @@
|
|||
commands:
|
||||
- LINUX_WHEELS=1 ./ci/ci.sh build
|
||||
- pip install -q docker aws_requests_auth boto3
|
||||
- ./ci/env/env_info.sh
|
||||
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
||||
- python ./ci/build/build-docker-images.py --py-versions py37 --device-types cu111 cu112 cu113 cu116 --build-type BUILDKITE --build-base
|
||||
|
||||
|
@ -109,6 +116,7 @@
|
|||
commands:
|
||||
- LINUX_WHEELS=1 ./ci/ci.sh build
|
||||
- pip install -q docker aws_requests_auth boto3
|
||||
- ./ci/env/env_info.sh
|
||||
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
||||
- python ./ci/build/build-docker-images.py --py-versions py38 --device-types cpu cu101 cu102 cu110 --build-type BUILDKITE --build-base
|
||||
|
||||
|
@ -117,6 +125,7 @@
|
|||
commands:
|
||||
- LINUX_WHEELS=1 ./ci/ci.sh build
|
||||
- pip install -q docker aws_requests_auth boto3
|
||||
- ./ci/env/env_info.sh
|
||||
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
||||
- python ./ci/build/build-docker-images.py --py-versions py38 --device-types cu111 cu112 cu113 cu116 --build-type BUILDKITE --build-base
|
||||
|
||||
|
@ -125,6 +134,7 @@
|
|||
commands:
|
||||
- LINUX_WHEELS=1 ./ci/ci.sh build
|
||||
- pip install -q docker aws_requests_auth boto3
|
||||
- ./ci/env/env_info.sh
|
||||
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
||||
- python ./ci/build/build-docker-images.py --py-versions py39 --device-types cpu cu101 cu102 cu110 --build-type BUILDKITE --build-base
|
||||
|
||||
|
@ -133,6 +143,7 @@
|
|||
commands:
|
||||
- LINUX_WHEELS=1 ./ci/ci.sh build
|
||||
- pip install -q docker aws_requests_auth boto3
|
||||
- ./ci/env/env_info.sh
|
||||
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
||||
- python ./ci/build/build-docker-images.py --py-versions py39 --device-types cu111 cu112 cu113 cu116 --build-type BUILDKITE --build-base
|
||||
|
||||
|
@ -141,6 +152,7 @@
|
|||
commands:
|
||||
- LINUX_WHEELS=1 ./ci/ci.sh build
|
||||
- pip install -q docker aws_requests_auth boto3
|
||||
- ./ci/env/env_info.sh
|
||||
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
||||
- python ./ci/build/build-docker-images.py --py-versions py310 --device-types cpu --build-type BUILDKITE --build-base
|
||||
|
||||
|
@ -216,8 +228,10 @@
|
|||
]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- ./ci/env/env_info.sh
|
||||
- ./dashboard/tests/run_ui_tests.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) python/ray/dashboard/...
|
||||
|
||||
- label: ":serverless: Serve Release Tests"
|
||||
conditions:
|
||||
[
|
||||
|
@ -228,9 +242,11 @@
|
|||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TORCH_VERSION=1.6 ./ci/env/install-dependencies.sh
|
||||
- 'git clone https://github.com/wg/wrk.git /tmp/wrk && pushd /tmp/wrk && make -j && sudo cp wrk /usr/local/bin && popd'
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--test_tag_filters=team:serve
|
||||
release/...
|
||||
|
||||
- label: ":serverless: Serve Tests"
|
||||
parallelism: 3
|
||||
conditions:
|
||||
|
@ -242,6 +258,7 @@
|
|||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- TORCH_VERSION=1.6 ./ci/env/install-dependencies.sh
|
||||
- 'git clone https://github.com/wg/wrk.git /tmp/wrk && pushd /tmp/wrk && make -j && sudo cp wrk /usr/local/bin && popd'
|
||||
- ./ci/env/env_info.sh
|
||||
- >-
|
||||
set -x;
|
||||
python ./ci/run/bazel-sharding.py
|
||||
|
@ -254,7 +271,6 @@
|
|||
--test_tag_filters=-post_wheel_build
|
||||
$(cat test_shard.txt)
|
||||
|
||||
|
||||
- label: ":python: Minimal install 3.6"
|
||||
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
||||
commands:
|
||||
|
@ -293,15 +309,18 @@
|
|||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- pip install -e release/
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--build_tests_only
|
||||
--test_tag_filters=release_unit
|
||||
release/...
|
||||
|
||||
- label: ":python: (Small & Client)"
|
||||
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- bash ./ci/ci.sh prepare_docker
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--test_tag_filters=client_tests,small_size_python_tests
|
||||
-- python/ray/tests/...
|
||||
|
@ -312,19 +331,24 @@
|
|||
--test_env=DOCKER_CERT_PATH=/certs/client
|
||||
--test_env=DOCKER_TLS_CERTDIR=/certs
|
||||
-- python/ray/tests/...
|
||||
|
||||
- label: ":python: (Large)"
|
||||
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
||||
parallelism: 3
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- ./ci/env/env_info.sh
|
||||
- ./ci/ci.sh test_large
|
||||
|
||||
- label: ":python: (Medium A-J)"
|
||||
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--test_tag_filters=-kubernetes,medium_size_python_tests_a_to_j
|
||||
python/ray/tests/...
|
||||
|
||||
- label: ":python: (Medium K-Z)"
|
||||
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
||||
commands:
|
||||
|
@ -332,51 +356,63 @@
|
|||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--test_tag_filters=-kubernetes,medium_size_python_tests_k_to_z
|
||||
python/ray/tests/...
|
||||
|
||||
- label: ":redis: (External Redis) (Small & Client)"
|
||||
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./scripts/bazel_export_options)
|
||||
--test_tag_filters=client_tests,small_size_python_tests
|
||||
--test_env=TEST_EXTERNAL_REDIS=1
|
||||
-- python/ray/tests/...
|
||||
|
||||
- label: ":redis: (External Redis) (Large)"
|
||||
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
||||
parallelism: 3
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- ./ci/env/env_info.sh
|
||||
- TEST_EXTERNAL_REDIS=1 ./ci/ci.sh test_large
|
||||
|
||||
- label: ":redis: (External Redis) (Medium A-J)"
|
||||
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./scripts/bazel_export_options)
|
||||
--test_tag_filters=-kubernetes,medium_size_python_tests_a_to_j
|
||||
--test_env=TEST_EXTERNAL_REDIS=1
|
||||
-- //python/ray/tests/...
|
||||
|
||||
- label: ":redis: (External Redis) (Medium K-Z)"
|
||||
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./scripts/bazel_export_options)
|
||||
--test_tag_filters=-kubernetes,medium_size_python_tests_k_to_z
|
||||
--test_env=TEST_EXTERNAL_REDIS=1
|
||||
-- //python/ray/tests/...
|
||||
|
||||
- label: ":python: Debug Test"
|
||||
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- pip uninstall -y ray
|
||||
- RAY_DEBUG_BUILD=debug ./ci/ci.sh build
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci-debug $(./ci/run/bazel_export_options)
|
||||
--test_tag_filters=-kubernetes,debug_tests
|
||||
python/ray/tests/...
|
||||
|
||||
- label: ":python: (ASAN tests)"
|
||||
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
||||
commands:
|
||||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- RLLIB_TESTING=1 ./ci/env/install-dependencies.sh
|
||||
- pip install "grpcio >= 1.28.1, <= 1.43.0"
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci --config=asan $(./ci/run/bazel_export_options)
|
||||
--config=asan-buildkite
|
||||
--test_tag_filters=-kubernetes,asan_tests
|
||||
|
@ -409,6 +445,7 @@
|
|||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
# no TUNE_TESTING=1 on purpose
|
||||
- ./ci/env/install-dependencies.sh
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options) --build_tests_only --test_tag_filters=soft_imports python/ray/tune/...
|
||||
|
||||
# Test to see if Train can be used without torch, tf, etc. installed
|
||||
|
@ -450,6 +487,7 @@
|
|||
- kind load docker-image ray-ci:kuberay-test
|
||||
- echo "--- Setting up KubeRay operator."
|
||||
- python python/ray/tests/kuberay/setup/setup_kuberay.py
|
||||
- ./ci/env/env_info.sh
|
||||
- echo "--- Running the test."
|
||||
- bazel test --config=ci $(./ci/run/bazel_export_options)
|
||||
--test_tag_filters=kuberay_operator
|
||||
|
@ -457,6 +495,7 @@
|
|||
--test_env=PULL_POLICY=IfNotPresent
|
||||
--test_env=KUBECONFIG=/root/.kube/config
|
||||
python/ray/tests/...
|
||||
|
||||
- label: ":python: Ray DAG Tests"
|
||||
conditions:
|
||||
[
|
||||
|
@ -466,6 +505,7 @@
|
|||
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
|
||||
- pip install -U pydot
|
||||
- sudo apt-get install -y graphviz
|
||||
- ./ci/env/env_info.sh
|
||||
- bazel test --config=ci $(./scripts/bazel_export_options)
|
||||
--test_tag_filters=ray_dag_tests
|
||||
python/ray/dag/...
|
||||
|
|
Loading…
Add table
Reference in a new issue