2021-02-18 14:19:28 -08:00
|
|
|
- label: ":ferris_wheel: Wheels and Jars"
|
|
|
|
conditions:
|
|
|
|
[
|
|
|
|
"RAY_CI_LINUX_WHEELS_AFFECTED",
|
|
|
|
"RAY_CI_JAVA_AFFECTED",
|
|
|
|
"RAY_CI_STREAMING_JAVA_AFFECTED",
|
|
|
|
]
|
|
|
|
commands:
|
|
|
|
# Build the wheels and jars
|
|
|
|
- LINUX_WHEELS=1 LINUX_JARS=1 ./ci/travis/ci.sh build
|
|
|
|
- bash ./java/build-jar-multiplatform.sh linux
|
|
|
|
# Upload the wheels and jars
|
|
|
|
# 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
|
|
|
|
- python .buildkite/copy_files.py --destination wheels --path ./.whl
|
|
|
|
- python .buildkite/copy_files.py --destination wheels --path ./.jar/linux
|
|
|
|
|
2021-05-19 13:46:42 -07:00
|
|
|
- label: ":ferris_wheel: Post-wheel tests"
|
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--test_tag_filters=post_wheel_build
|
|
|
|
--test_env=CONDA_EXE
|
|
|
|
--test_env=CONDA_PYTHON_EXE
|
|
|
|
--test_env=CONDA_SHLVL
|
|
|
|
--test_env=CONDA_PREFIX
|
|
|
|
--test_env=CONDA_DEFAULT_ENV
|
|
|
|
--test_env=CI
|
|
|
|
python/ray/tests/... python/ray/serve/... python/ray/tune/... rllib/...
|
|
|
|
|
2021-02-18 14:19:28 -08:00
|
|
|
- label: ":docker: Build Images"
|
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
2021-02-24 20:41:52 -08:00
|
|
|
- pip install docker
|
2021-02-26 15:23:02 -08:00
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions PY37 --build-type BUILDKITE --build-base
|
2021-02-18 14:19:28 -08:00
|
|
|
|
|
|
|
- label: ":docker: Build Images"
|
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
2021-02-24 20:41:52 -08:00
|
|
|
- pip install docker
|
2021-02-26 15:23:02 -08:00
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions PY36 PY38 --build-type BUILDKITE --build-base
|
2021-02-18 14:19:28 -08:00
|
|
|
|
2021-01-29 15:48:02 -08:00
|
|
|
- label: ":book: Lint"
|
|
|
|
commands:
|
2021-02-05 12:58:07 -08:00
|
|
|
- export LINT=1
|
|
|
|
- ./ci/travis/install-dependencies.sh
|
|
|
|
- ./ci/travis/ci.sh lint
|
|
|
|
- ./ci/travis/ci.sh build
|
2021-01-29 15:48:02 -08:00
|
|
|
|
|
|
|
- label: ":java: Java"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_JAVA_AFFECTED"]
|
2021-01-29 15:48:02 -08:00
|
|
|
commands:
|
2021-02-05 12:58:07 -08:00
|
|
|
- ./java/test.sh
|
2021-01-29 15:48:02 -08:00
|
|
|
|
|
|
|
- label: ":java: Streaming"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions:
|
|
|
|
["RAY_CI_STREAMING_PYTHON_AFFECTED", "RAY_CI_STREAMING_JAVA_AFFECTED"]
|
2021-01-29 15:48:02 -08:00
|
|
|
commands:
|
2021-02-05 12:58:07 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-01-29 15:48:02 -08:00
|
|
|
//streaming:all
|
2021-02-05 12:58:07 -08:00
|
|
|
- bash streaming/src/test/run_streaming_queue_test.sh
|
2021-01-29 15:48:02 -08:00
|
|
|
|
|
|
|
- label: ":cpp: Worker"
|
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-02-05 12:58:07 -08:00
|
|
|
- ./ci/travis/ci.sh test_cpp
|
2021-01-29 15:48:02 -08:00
|
|
|
|
2021-01-25 16:05:59 -08:00
|
|
|
- label: ":cpp: Tests"
|
2021-01-18 00:44:24 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-02-05 12:58:07 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-01-25 16:05:59 -08:00
|
|
|
--build_tests_only
|
2021-04-20 00:19:07 -07:00
|
|
|
--test_tag_filters=-flaky
|
2021-01-25 16:05:59 -08:00
|
|
|
-- //:all -rllib/... -core_worker_test
|
|
|
|
|
|
|
|
- label: ":cpp: Tests (ASAN)"
|
2021-01-18 17:20:45 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-02-05 12:58:07 -08:00
|
|
|
- bazel test --config=ci --config=asan $(./scripts/bazel_export_options)
|
2021-01-25 16:05:59 -08:00
|
|
|
--build_tests_only
|
|
|
|
--config=asan-buildkite
|
|
|
|
--jobs=2
|
2021-04-20 00:19:07 -07:00
|
|
|
--test_tag_filters=-flaky
|
2021-01-25 16:05:59 -08:00
|
|
|
-- //:all -//:core_worker_test
|
|
|
|
|
|
|
|
- label: ":serverless: Dashboard + Serve Tests"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions:
|
|
|
|
[
|
|
|
|
"RAY_CI_SERVE_AFFECTED",
|
|
|
|
"RAY_CI_DASHBOARD_AFFECTED",
|
|
|
|
"RAY_CI_PYTHON_AFFECTED",
|
|
|
|
]
|
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-02-05 12:58:07 -08:00
|
|
|
- TORCH_VERSION=1.6 ./ci/travis/install-dependencies.sh
|
2021-02-24 20:41:52 -08:00
|
|
|
- ./dashboard/tests/run_ui_tests.sh
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) python/ray/new_dashboard/...
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) python/ray/serve/...
|
2021-01-25 16:05:59 -08:00
|
|
|
|
2021-04-20 00:19:07 -07:00
|
|
|
- label: ":python: (Flaky tests)"
|
2021-04-23 15:43:06 -07:00
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED", "RAY_CI_SERVE_AFFECTED", "RAY_CI_RLLIB_AFFECTED", "RAY_CI_TUNE_AFFECTED"]
|
2021-04-20 00:19:07 -07:00
|
|
|
commands:
|
2021-04-22 10:32:27 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-05-17 18:24:13 +02:00
|
|
|
- RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
|
2021-05-10 22:26:24 -07:00
|
|
|
# - bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
# --build_tests_only
|
|
|
|
# --test_tag_filters=flaky
|
|
|
|
# -- //:all -rllib/... -core_worker_test
|
2021-04-20 00:19:07 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--test_tag_filters=-kubernetes,-jenkins_only,flaky
|
|
|
|
--test_env=CONDA_EXE
|
|
|
|
--test_env=CONDA_PYTHON_EXE
|
|
|
|
--test_env=CONDA_SHLVL
|
|
|
|
--test_env=CONDA_PREFIX
|
|
|
|
--test_env=CONDA_DEFAULT_ENV
|
2021-04-22 15:03:29 -07:00
|
|
|
python/ray/tests/... python/ray/serve/... python/ray/tune/... rllib/...
|
2021-01-25 16:05:59 -08:00
|
|
|
- label: ":python: (Small & Large)"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-02-05 12:58:07 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-05-19 13:46:42 -07:00
|
|
|
--test_tag_filters=-kubernetes,-jenkins_only,-medium_size_python_tests_a_to_j,-medium_size_python_tests_k_to_z,-flaky,-post_wheel_build
|
2021-03-11 08:09:38 -08:00
|
|
|
--test_env=CONDA_EXE
|
|
|
|
--test_env=CONDA_PYTHON_EXE
|
|
|
|
--test_env=CONDA_SHLVL
|
|
|
|
--test_env=CONDA_PREFIX
|
|
|
|
--test_env=CONDA_DEFAULT_ENV
|
2021-01-25 16:05:59 -08:00
|
|
|
python/ray/tests/...
|
2021-02-05 12:58:07 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-04-22 15:03:29 -07:00
|
|
|
--test_tag_filters=-kubernetes,-jenkins_only,client_tests,-flaky
|
2021-01-25 16:05:59 -08:00
|
|
|
--test_env=RAY_CLIENT_MODE=1
|
|
|
|
python/ray/tests/...
|
|
|
|
- label: ":python: (Medium A-J)"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-02-05 12:58:07 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-04-20 00:19:07 -07:00
|
|
|
--test_tag_filters=-kubernetes,-jenkins_only,medium_size_python_tests_a_to_j,-flaky
|
2021-01-25 16:05:59 -08:00
|
|
|
python/ray/tests/...
|
|
|
|
- label: ":python: (Medium K-Z)"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-02-05 12:58:07 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-04-20 00:19:07 -07:00
|
|
|
--test_tag_filters=-kubernetes,-jenkins_only,medium_size_python_tests_k_to_z,-flaky
|
2021-01-25 16:05:59 -08:00
|
|
|
python/ray/tests/...
|
|
|
|
|
|
|
|
- label: ":brain: RLlib: Learning tests (from rllib/tuned_examples/*.yaml)"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-05-17 18:24:13 +02:00
|
|
|
- RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
|
2021-02-05 12:58:07 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-01-25 16:05:59 -08:00
|
|
|
--build_tests_only
|
2021-04-22 15:03:29 -07:00
|
|
|
--test_tag_filters=learning_tests_tf,-flaky
|
2021-01-25 16:05:59 -08:00
|
|
|
rllib/...
|
|
|
|
- label: ":brain: RLlib: Learning tests with tf=1.x (from rllib/tuned_examples/*.yaml)"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-05-17 18:24:13 +02:00
|
|
|
- RLLIB_TESTING=1 TF_VERSION=1.14.0 TFP_VERSION=0.7 ./ci/travis/install-dependencies.sh
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
2021-04-22 15:03:29 -07:00
|
|
|
--test_tag_filters=learning_tests_tf,-flaky
|
2021-01-25 16:05:59 -08:00
|
|
|
rllib/...
|
|
|
|
- label: ":brain: RLlib: Learning tests with Torch (from rllib/tuned_examples/*.yaml)"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-05-17 18:24:13 +02:00
|
|
|
- RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
2021-04-22 15:03:29 -07:00
|
|
|
--test_tag_filters=learning_tests_torch,-flaky
|
2021-01-25 16:05:59 -08:00
|
|
|
rllib/...
|
|
|
|
- label: ":brain: RLlib: Quick Agent train.py runs"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-05-17 18:24:13 +02:00
|
|
|
- RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-02-05 12:58:07 -08:00
|
|
|
--build_tests_only
|
2021-04-22 15:03:29 -07:00
|
|
|
--test_tag_filters=quick_train,-flaky
|
2021-02-05 12:58:07 -08:00
|
|
|
--test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
|
|
|
rllib/...
|
2021-04-16 12:16:12 -05:00
|
|
|
|
|
|
|
- label: ":brain: RLlib: everything else"
|
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-05-17 18:24:13 +02:00
|
|
|
- RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
|
2021-01-25 16:05:59 -08:00
|
|
|
# Test everything that does not have any of the "main" labels:
|
|
|
|
# "learning_tests|quick_train|examples|tests_dir".
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
2021-02-05 12:58:07 -08:00
|
|
|
--build_tests_only
|
2021-04-22 15:03:29 -07:00
|
|
|
--test_tag_filters=-learning_tests_tf,-learning_tests_torch,-quick_train,-examples,-tests_dir,-flaky
|
2021-02-05 12:58:07 -08:00
|
|
|
--test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
|
|
|
rllib/...
|
2021-04-16 12:16:12 -05:00
|
|
|
|
|
|
|
- label: ":brain: RLlib: rllib/examples/ {1/2}"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-05-17 18:24:13 +02:00
|
|
|
- RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-04-22 15:03:29 -07:00
|
|
|
--test_tag_filters=examples_A,examples_B,-flaky --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-04-22 15:03:29 -07:00
|
|
|
--test_tag_filters=examples_C,examples_D,-flaky --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
|
2021-04-16 12:16:12 -05:00
|
|
|
|
|
|
|
- label: ":brain: RLlib: rllib/examples/ {2/2}"
|
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-05-17 18:24:13 +02:00
|
|
|
- RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-04-22 15:03:29 -07:00
|
|
|
--test_tag_filters=examples_E,examples_F,examples_G,examples_H,examples_I,examples_J,examples_K,examples_L,examples_M,examples_N,examples_O,examples_P,-flaky --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
2021-02-05 12:58:07 -08:00
|
|
|
rllib/...
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-04-22 15:03:29 -07:00
|
|
|
--test_tag_filters=examples_Q,examples_R,examples_S,examples_T,examples_U,examples_V,examples_W,examples_X,examples_Y,examples_Z,-flaky --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
2021-02-05 12:58:07 -08:00
|
|
|
rllib/...
|
2021-01-25 16:05:59 -08:00
|
|
|
- label: ":brain: RLlib: rllib/tests/ (A-L)"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-05-17 18:24:13 +02:00
|
|
|
- RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-04-22 15:03:29 -07:00
|
|
|
--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,-flaky --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
2021-02-05 12:58:07 -08:00
|
|
|
rllib/...
|
2021-01-25 16:05:59 -08:00
|
|
|
- label: ":brain: RLlib: rllib/tests/ (M-Z)"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-05-17 18:24:13 +02:00
|
|
|
- RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-04-22 15:03:29 -07:00
|
|
|
--test_tag_filters=tests_dir_M,tests_dir_N,tests_dir_O,tests_dir_P,tests_dir_Q,tests_dir_R,tests_dir_S,tests_dir_T,tests_dir_U,tests_dir_V,tests_dir_W,tests_dir_X,tests_dir_Y,tests_dir_Z,-flaky --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
2021-02-05 12:58:07 -08:00
|
|
|
rllib/...
|
2021-01-25 16:05:59 -08:00
|
|
|
|
2021-04-16 12:16:12 -05:00
|
|
|
- label: ":octopus: Tune tests and examples {1/2}"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_TUNE_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-01-25 16:05:59 -08:00
|
|
|
- TUNE_TESTING=1 ./ci/travis/install-dependencies.sh
|
2021-04-22 15:03:29 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --test_tag_filters=-jenkins_only,-example,-flaky python/ray/tune/...
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=example,-tf,-pytorch,-py37,-flaky python/ray/tune/...
|
2021-04-16 12:16:12 -05:00
|
|
|
|
|
|
|
- label: ":octopus: Tune tests and examples {2/2}"
|
|
|
|
conditions: ["RAY_CI_TUNE_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- TUNE_TESTING=1 ./ci/travis/install-dependencies.sh
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=tf,-pytorch,-py37,-flaky python/ray/tune/...
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=-tf,pytorch,-py37,-flaky python/ray/tune/...
|
|
|
|
|
|
|
|
- label: ":octopus: SGD tests and examples"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_SGD_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-01-25 16:05:59 -08:00
|
|
|
- SGD_TESTING=1 ./ci/travis/install-dependencies.sh
|
2021-04-22 15:03:29 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=tf,-pytorch,-py37,-flaky python/ray/util/sgd/...
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=-tf,pytorch,-py37,-flaky python/ray/util/sgd/...
|
2021-01-25 16:05:59 -08:00
|
|
|
|
|
|
|
- label: ":octopus: Tune/SGD tests and examples. Python 3.7"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions: ["RAY_CI_TUNE_AFFECTED", "RAY_CI_SGD_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-01-25 16:05:59 -08:00
|
|
|
- TUNE_TESTING=1 PYTHON=3.7 INSTALL_HOROVOD=1 ./ci/travis/install-dependencies.sh
|
2021-04-14 12:47:31 -07:00
|
|
|
# Because Python version changed, we need to re-install Ray here
|
2021-01-25 16:05:59 -08:00
|
|
|
- rm -rf ./python/ray/thirdparty_files; ./ci/travis/ci.sh build
|
2021-04-22 15:03:29 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=py37,-flaky python/ray/tune/...
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only python/ray/util/xgboost/...
|
|
|
|
|
|
|
|
- label: ":book: Doc tests and examples"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions:
|
|
|
|
["RAY_CI_PYTHON_AFFECTED", "RAY_CI_TUNE_AFFECTED", "RAY_CI_DOC_AFFECTED"]
|
2021-01-25 16:05:59 -08:00
|
|
|
commands:
|
2021-04-14 12:47:31 -07:00
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-01-25 16:05:59 -08:00
|
|
|
- DOC_TESTING=1 ./ci/travis/install-dependencies.sh
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=-tf,-pytorch,-py37 doc/...
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=tf,-pytorch,-py37 doc/...
|
2021-02-05 12:58:07 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=-tf,pytorch,-py37 doc/...
|