2021-02-18 14:19:28 -08:00
|
|
|
- label: ":ferris_wheel: Wheels and Jars"
|
|
|
|
conditions:
|
|
|
|
[
|
2021-06-30 01:12:47 +08:00
|
|
|
"RAY_CI_LINUX_WHEELS_AFFECTED",
|
|
|
|
"RAY_CI_JAVA_AFFECTED",
|
|
|
|
"RAY_CI_STREAMING_JAVA_AFFECTED",
|
2021-02-18 14:19:28 -08:00
|
|
|
]
|
|
|
|
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
|
2021-06-04 00:48:12 -07:00
|
|
|
# Upload to branch directory.
|
2021-06-03 20:10:31 -07:00
|
|
|
- python .buildkite/copy_files.py --destination branch_wheels --path ./.whl
|
|
|
|
- python .buildkite/copy_files.py --destination branch_jars --path ./.jar/linux
|
2021-06-04 00:48:12 -07:00
|
|
|
# Upload to latest directory.
|
|
|
|
- if [ "$BUILDKITE_BRANCH" == "master" ]; then python .buildkite/copy_files.py --destination wheels --path ./.whl; fi
|
|
|
|
- if [ "$BUILDKITE_BRANCH" == "master" ]; then python .buildkite/copy_files.py --destination jars --path ./.jar/linux; fi
|
2021-02-18 14:19:28 -08:00
|
|
|
|
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
|
2021-05-21 15:15:52 -07:00
|
|
|
--test_env=RAY_CI_POST_WHEEL_TESTS=True
|
2021-06-09 18:02:16 -07:00
|
|
|
python/ray/tests/... python/ray/serve/... python/ray/tune/... rllib/... doc/...
|
2021-05-19 13:46:42 -07:00
|
|
|
|
2021-08-05 17:58:19 -07:00
|
|
|
- label: ":ferris_wheel: Debug Wheels"
|
|
|
|
conditions:
|
|
|
|
[
|
|
|
|
"RAY_CI_LINUX_WHEELS_AFFECTED",
|
|
|
|
"RAY_CI_JAVA_AFFECTED",
|
|
|
|
"RAY_CI_STREAMING_JAVA_AFFECTED",
|
|
|
|
]
|
|
|
|
commands:
|
|
|
|
# Build the debug wheels
|
2021-08-17 10:21:41 -07:00
|
|
|
- RAY_DEBUG_BUILD=debug LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
2021-08-05 17:58:19 -07:00
|
|
|
# Upload the wheels.
|
|
|
|
# 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
|
|
|
|
# Upload to branch directory.
|
|
|
|
- python .buildkite/copy_files.py --destination branch_wheels --path ./.whl
|
|
|
|
# Upload to latest directory.
|
|
|
|
- if [ "$BUILDKITE_BRANCH" == "master" ]; then python .buildkite/copy_files.py --destination wheels --path ./.whl; fi
|
|
|
|
|
2021-08-17 10:21:41 -07:00
|
|
|
# Not working now.
|
|
|
|
# - label: ":ferris_wheel: ASAN Wheels"
|
|
|
|
# conditions:
|
|
|
|
# [
|
|
|
|
# "RAY_CI_LINUX_WHEELS_AFFECTED",
|
|
|
|
# "RAY_CI_JAVA_AFFECTED",
|
|
|
|
# "RAY_CI_STREAMING_JAVA_AFFECTED",
|
|
|
|
# ]
|
|
|
|
# commands:
|
|
|
|
# # Build the asan wheels
|
|
|
|
# - RAY_DEBUG_BUILD=asan LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
# # Upload the wheels.
|
|
|
|
# # 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
|
|
|
|
# # Upload to branch directory.
|
|
|
|
# - python .buildkite/copy_files.py --destination branch_wheels --path ./.whl
|
|
|
|
# # Upload to latest directory.
|
|
|
|
# - if [ "$BUILDKITE_BRANCH" == "master" ]; then python .buildkite/copy_files.py --destination wheels --path ./.whl; fi
|
|
|
|
|
2021-10-26 17:32:56 -07:00
|
|
|
- label: ":docker: Build Images: py36 (1/2)"
|
2021-02-18 14:19:28 -08:00
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
2021-06-03 20:10:31 -07:00
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
2021-10-26 17:32:56 -07:00
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py36 --device-types cpu cu101 cu102 --build-type BUILDKITE --build-base
|
2021-02-18 14:19:28 -08:00
|
|
|
|
2021-10-26 17:32:56 -07:00
|
|
|
- label: ":docker: Build Images: py36 (2/2)"
|
2021-02-18 14:19:28 -08:00
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
2021-06-03 20:10:31 -07:00
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
2021-10-26 17:32:56 -07:00
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py36 --device-types cu110 cu111 cu112 --build-type BUILDKITE --build-base
|
2021-05-24 10:31:54 -07:00
|
|
|
|
2021-10-26 17:32:56 -07:00
|
|
|
- label: ":docker: Build Images: py37 (1/2)"
|
2021-05-24 10:31:54 -07:00
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
2021-06-03 20:10:31 -07:00
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
2021-10-26 17:32:56 -07:00
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py37 --device-types cpu cu101 cu102 --build-type BUILDKITE --build-base
|
2021-02-18 14:19:28 -08:00
|
|
|
|
2021-10-26 17:32:56 -07:00
|
|
|
- label: ":docker: Build Images: py37 (2/2)"
|
2021-07-22 13:38:57 -07:00
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
2021-10-26 17:32:56 -07:00
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py37 --device-types cu110 cu111 cu112 --build-type BUILDKITE --build-base
|
|
|
|
|
|
|
|
- label: ":docker: Build Images: py38 (1/2)"
|
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py38 --device-types cpu cu101 cu102 --build-type BUILDKITE --build-base
|
|
|
|
|
|
|
|
- label: ":docker: Build Images: py38 (2/2)"
|
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py38 --device-types cu110 cu111 cu112 --build-type BUILDKITE --build-base
|
|
|
|
|
|
|
|
- label: ":docker: Build Images: py39 (1/2)"
|
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py39 --device-types cpu cu101 cu102 --build-type BUILDKITE --build-base
|
|
|
|
|
|
|
|
- label: ":docker: Build Images: py39 (2/2)"
|
|
|
|
conditions: ["RAY_CI_LINUX_WHEELS_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- pip install -q docker aws_requests_auth boto3
|
|
|
|
- if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then python .buildkite/copy_files.py --destination docker_login; fi
|
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py39 --device-types cu110 cu111 cu112 --build-type BUILDKITE --build-base
|
2021-07-22 13:38:57 -07: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-10-08 02:38:37 +09:00
|
|
|
- ./java/test.sh
|
2021-01-29 15:48:02 -08:00
|
|
|
|
|
|
|
- label: ":java: Streaming"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions:
|
2021-09-07 16:19:49 -07:00
|
|
|
["RAY_CI_STREAMING_PYTHON_AFFECTED", "RAY_CI_STREAMING_JAVA_AFFECTED", "RAY_CI_PYTHON_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"
|
2021-10-29 16:47:54 -07:00
|
|
|
conditions: [ "RAY_CI_CPP_AFFECTED" ]
|
2021-01-29 15:48:02 -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
|
|
|
- ./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-10-29 16:47:54 -07:00
|
|
|
conditions: [ "RAY_CI_CORE_CPP_AFFECTED" ]
|
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-09-17 19:01:07 -07:00
|
|
|
- bazel test --config=ci --config=llvm $(./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-10-29 16:47:54 -07:00
|
|
|
conditions: [ "RAY_CI_CORE_CPP_AFFECTED" ]
|
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-09-17 19:01:07 -07:00
|
|
|
- bazel test --config=ci --config=asan-clang $(./scripts/bazel_export_options)
|
2021-01-25 16:05:59 -08:00
|
|
|
--build_tests_only
|
|
|
|
--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
|
|
|
|
|
2021-08-17 10:22:03 -07:00
|
|
|
- label: ":cpp: Tests (UBSAN)"
|
2021-10-29 16:47:54 -07:00
|
|
|
conditions: [ "RAY_CI_CORE_CPP_AFFECTED" ]
|
2021-08-17 10:22:03 -07:00
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- bazel test --config=ci --config=ubsan $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
|
|
|
--jobs=2
|
|
|
|
--test_tag_filters=-flaky
|
|
|
|
-- //:all -//:core_worker_test -//:logging_test
|
|
|
|
|
2021-08-24 00:57:32 -07:00
|
|
|
- label: ":cpp: Tests (TSAN)"
|
2021-10-29 16:47:54 -07:00
|
|
|
conditions: [ "RAY_CI_CORE_CPP_AFFECTED" ]
|
2021-08-24 00:57:32 -07:00
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-09-17 19:01:07 -07:00
|
|
|
- bazel test --config=ci --config=tsan-clang $(./scripts/bazel_export_options)
|
2021-08-24 00:57:32 -07:00
|
|
|
--build_tests_only
|
|
|
|
--jobs=2
|
|
|
|
--test_tag_filters=-flaky
|
|
|
|
-- //:all -//:core_worker_test -//:event_test -//:gcs_actor_manager_test
|
|
|
|
-//:gcs_placement_group_manager_test -//:gcs_placement_group_scheduler_test
|
2021-09-19 12:01:31 -07:00
|
|
|
-//:gcs_server_rpc_test -//:gcs_server_test
|
2021-08-24 00:57:32 -07:00
|
|
|
-//:metric_exporter_client_test -//:stats_test -//:worker_pool_test
|
|
|
|
|
2021-01-25 16:05:59 -08:00
|
|
|
- label: ":serverless: Dashboard + Serve Tests"
|
2021-02-05 12:58:07 -08:00
|
|
|
conditions:
|
|
|
|
[
|
2021-06-30 01:12:47 +08:00
|
|
|
"RAY_CI_SERVE_AFFECTED",
|
|
|
|
"RAY_CI_DASHBOARD_AFFECTED",
|
|
|
|
"RAY_CI_PYTHON_AFFECTED",
|
2021-02-05 12:58:07 -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
|
|
|
- TORCH_VERSION=1.6 ./ci/travis/install-dependencies.sh
|
2021-02-24 20:41:52 -08:00
|
|
|
- ./dashboard/tests/run_ui_tests.sh
|
2021-09-15 11:17:15 -05:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) python/ray/dashboard/...
|
2021-09-30 11:28:44 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--test_tag_filters=-post_wheel_build
|
|
|
|
python/ray/serve/...
|
2021-01-25 16:05:59 -08:00
|
|
|
|
2021-08-31 15:26:25 +02:00
|
|
|
- label: ":python: Minimal install"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- ./ci/travis/install-minimal.sh
|
|
|
|
- ./ci/travis/env_info.sh
|
|
|
|
- python ./ci/travis/check_minimal_install.py
|
|
|
|
- bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_basic
|
|
|
|
- bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_basic_2
|
|
|
|
- bazel test --test_output=streamed --config=ci $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_basic_3
|
2021-10-28 13:04:22 -07:00
|
|
|
- bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_output
|
2021-10-19 07:16:04 -07:00
|
|
|
- bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_runtime_env_ray_minimal
|
2021-10-21 13:47:29 -07:00
|
|
|
- bazel test --test_output=streamed --config=ci --test_env=RAY_MINIMAL=1 $(./scripts/bazel_export_options)
|
|
|
|
python/ray/tests/test_serve_ray_minimal
|
2021-04-20 00:19:07 -07:00
|
|
|
- label: ":python: (Flaky tests)"
|
2021-11-04 20:40:57 +01:00
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED", "RAY_CI_SERVE_AFFECTED", "RAY_CI_RLLIB_DIRECTLY_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-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
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)
|
2021-10-12 10:05:46 +01:00
|
|
|
--test_tag_filters=-kubernetes,flaky
|
2021-04-20 00:19:07 -07:00
|
|
|
--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-10-12 10:05:46 +01:00
|
|
|
--test_tag_filters=-kubernetes,-medium_size_python_tests_a_to_j,-medium_size_python_tests_k_to_z,-client_tests,-flaky,-post_wheel_build,-worker-container
|
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-10-12 10:05:46 +01:00
|
|
|
--test_tag_filters=-kubernetes,client_tests,-flaky
|
2021-06-02 18:04:29 -07:00
|
|
|
--test_env=RAY_CLIENT_MODE=1 --test_env=RAY_PROFILING=1
|
2021-01-25 16:05:59 -08:00
|
|
|
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-10-12 10:05:46 +01:00
|
|
|
--test_tag_filters=-kubernetes,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-10-12 10:05:46 +01:00
|
|
|
--test_tag_filters=-kubernetes,medium_size_python_tests_k_to_z,-flaky
|
2021-01-25 16:05:59 -08:00
|
|
|
python/ray/tests/...
|
2021-11-03 11:58:16 -07:00
|
|
|
- label: ":python: Debug Test"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
2021-08-05 17:58:19 -07:00
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- pip uninstall -y ray
|
2021-08-17 10:21:41 -07:00
|
|
|
- RAY_DEBUG_BUILD=debug ./ci/travis/ci.sh build
|
2021-08-05 17:58:19 -07:00
|
|
|
- bazel test --config=ci-debug $(./scripts/bazel_export_options)
|
2021-10-12 10:05:46 +01:00
|
|
|
--test_tag_filters=-kubernetes,debug_tests,-flaky
|
2021-08-05 17:58:19 -07:00
|
|
|
python/ray/tests/...
|
2021-11-03 11:58:16 -07:00
|
|
|
- label: ":python: (ASAN tests)"
|
2021-08-17 10:21:41 -07:00
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- RLLIB_TESTING=1 ./ci/travis/install-dependencies.sh
|
|
|
|
- bazel test --config=ci --config=asan $(./scripts/bazel_export_options)
|
|
|
|
--config=asan-buildkite
|
2021-10-12 10:05:46 +01:00
|
|
|
--test_tag_filters=-kubernetes,asan_tests,-flaky
|
2021-08-17 10:21:41 -07:00
|
|
|
--test_env=CONDA_EXE
|
|
|
|
--test_env=CONDA_PYTHON_EXE
|
|
|
|
--test_env=CONDA_SHLVL
|
|
|
|
--test_env=CONDA_PREFIX
|
|
|
|
--test_env=CONDA_DEFAULT_ENV
|
|
|
|
python/ray/tests/...
|
2021-11-12 08:11:06 +08:00
|
|
|
- label: ":python: (Privileged test)"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- LINUX_WHEELS=1 ./ci/travis/ci.sh build
|
|
|
|
- pip install docker
|
|
|
|
# We build image ray-worker-container:nightly-py36-cpu which have installed podman,but not push it.
|
|
|
|
# And we save this image to a tarball, so that we can load it to podman image storage in the
|
|
|
|
# nested-container which run tests. And in this nested-container, Raylet will start ray worker
|
|
|
|
# process in double-nested-container.
|
|
|
|
- python ./ci/travis/build-docker-images.py --py-versions py36 --device-types cpu --build-type BUILDKITE --only-build-worker-container
|
|
|
|
- mkdir /ray-mount/containers
|
|
|
|
- docker save -o /ray-mount/containers/images.tar rayproject/ray-worker-container:nightly-py36-cpu
|
|
|
|
- docker run --rm --privileged -v /ray/containers:/var/lib/containers -v /ray:/ray --entrypoint /bin/bash
|
|
|
|
rayproject/ray-worker-container:nightly-py36-cpu /ray/ci/travis/test-worker-in-container.sh
|
2021-01-25 16:05:59 -08:00
|
|
|
|
2021-11-03 11:58:16 -07:00
|
|
|
- label: ":redis: HA GCS (Small & Large)"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- 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=-kubernetes,-medium_size_python_tests_a_to_j,-medium_size_python_tests_k_to_z,-client_tests,-flaky,-post_wheel_build,-worker-container
|
|
|
|
--test_env=CONDA_EXE
|
|
|
|
--test_env=CONDA_PYTHON_EXE
|
|
|
|
--test_env=CONDA_SHLVL
|
|
|
|
--test_env=CONDA_PREFIX
|
|
|
|
--test_env=CONDA_DEFAULT_ENV
|
2021-11-04 09:59:11 -07:00
|
|
|
--test_env=RAY_gcs_grpc_based_pubsub=true
|
2021-11-03 11:58:16 -07:00
|
|
|
-- //python/ray/tests/...
|
|
|
|
-//python/ray/tests:test_failure_2
|
2021-11-11 14:59:57 -08:00
|
|
|
-//python/ray/tests:test_job
|
2021-11-12 15:47:42 -08:00
|
|
|
-//python/ray/tests:test_autoscaler_drain_node_api
|
2021-11-03 11:58:16 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--test_tag_filters=-kubernetes,client_tests,-flaky
|
|
|
|
--test_env=RAY_CLIENT_MODE=1 --test_env=RAY_PROFILING=1
|
2021-11-04 09:59:11 -07:00
|
|
|
--test_env=RAY_gcs_grpc_based_pubsub=true
|
2021-11-03 11:58:16 -07:00
|
|
|
-- //python/ray/tests/...
|
|
|
|
- label: ":redis: HA GCS (Medium A-J)"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- 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=-kubernetes,medium_size_python_tests_a_to_j,-flaky
|
2021-11-04 09:59:11 -07:00
|
|
|
--test_env=RAY_gcs_grpc_based_pubsub=true
|
2021-11-03 11:58:16 -07:00
|
|
|
-- //python/ray/tests/...
|
|
|
|
-//python/ray/tests:test_client_multi -//python/ray/tests:test_component_failures_3
|
|
|
|
-//python/ray/tests:test_healthcheck -//python/ray/tests:test_gcs_fault_tolerance
|
2021-11-11 14:59:57 -08:00
|
|
|
-//python/ray/tests:test_client
|
2021-11-03 11:58:16 -07:00
|
|
|
- label: ":redis: HA GCS (Medium K-Z)"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- 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=-kubernetes,medium_size_python_tests_k_to_z,-flaky
|
2021-11-04 09:59:11 -07:00
|
|
|
--test_env=RAY_gcs_grpc_based_pubsub=true
|
2021-11-03 11:58:16 -07:00
|
|
|
-- //python/ray/tests/...
|
|
|
|
-//python/ray/tests:test_multinode_failures_2 -//python/ray/tests:test_ray_debugger
|
|
|
|
-//python/ray/tests:test_placement_group_2 -//python/ray/tests:test_placement_group_3
|
2021-11-11 14:59:57 -08:00
|
|
|
-//python/ray/tests:test_multi_node
|
2021-11-03 11:58:16 -07:00
|
|
|
|
2021-11-02 12:10:17 +01:00
|
|
|
- label: ":brain: RLlib: Learning discr. actions TF2-static-graph (from rllib/tuned_examples/*.yaml)"
|
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
|
|
|
--test_tag_filters=learning_tests_discrete,-fake_gpus,-torch_only,-flaky
|
|
|
|
--test_arg=--framework=tf
|
|
|
|
rllib/...
|
|
|
|
- label: ":brain: RLlib: Learning cont. actions TF2-static-graph (from rllib/tuned_examples/*.yaml)"
|
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
|
|
|
--test_tag_filters=learning_tests_continuous,-fake_gpus,-torch_only,-flaky
|
|
|
|
--test_arg=--framework=tf
|
|
|
|
rllib/...
|
2021-11-03 10:01:34 +01:00
|
|
|
- label: ":brain: RLlib: Learning discr. actions TF2-eager-tracing (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-11-03 10:01:34 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
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-11-02 12:10:17 +01:00
|
|
|
--test_tag_filters=learning_tests_discrete,-fake_gpus,-torch_only,-flaky,-multi_gpu,-no_tf_eager_tracing
|
|
|
|
--test_arg=--framework=tf2
|
2021-01-25 16:05:59 -08:00
|
|
|
rllib/...
|
2021-11-03 10:01:34 +01:00
|
|
|
- label: ":brain: RLlib: Learning cont. actions TF2-eager-tracing (from rllib/tuned_examples/*.yaml)"
|
2021-09-15 22:16:48 +02:00
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-03 10:01:34 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-09-15 22:16:48 +02:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
2021-11-02 12:10:17 +01:00
|
|
|
--test_tag_filters=learning_tests_continuous,-fake_gpus,-torch_only,-flaky,-multi_gpu
|
|
|
|
--test_arg=--framework=tf2
|
2021-09-15 22:16:48 +02:00
|
|
|
rllib/...
|
2021-11-02 12:10:17 +01:00
|
|
|
- label: ":brain: RLlib: Learning discr. actions TF1-static-graph (from rllib/tuned_examples/*.yaml)"
|
2021-11-04 20:40:57 +01:00
|
|
|
conditions: ["RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
|
2021-09-15 22:16:48 +02:00
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 TF_VERSION=1.14.0 TFP_VERSION=0.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-09-15 22:16:48 +02:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
2021-11-02 12:10:17 +01:00
|
|
|
--test_tag_filters=learning_tests_discrete,-fake_gpus,-torch_only,-flaky,-multi_gpu
|
|
|
|
--test_arg=--framework=tf
|
2021-09-15 22:16:48 +02:00
|
|
|
rllib/...
|
2021-11-02 12:10:17 +01:00
|
|
|
- label: ":brain: RLlib: Learning cont. actions TF1-static-graph (from rllib/tuned_examples/*.yaml)"
|
2021-11-04 20:40:57 +01:00
|
|
|
conditions: ["RAY_CI_RLLIB_DIRECTLY_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-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 TF_VERSION=1.14.0 TFP_VERSION=0.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
2021-11-02 12:10:17 +01:00
|
|
|
--test_tag_filters=learning_tests_continuous,-fake_gpus,-torch_only,-flaky,-multi_gpu
|
|
|
|
--test_arg=--framework=tf
|
2021-09-15 22:16:48 +02:00
|
|
|
rllib/...
|
2021-11-02 12:10:17 +01:00
|
|
|
- label: ":brain: RLlib: Learning discr. actions PyTorch (from rllib/tuned_examples/*.yaml)"
|
2021-09-15 22:16:48 +02:00
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-09-15 22:16:48 +02:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
2021-11-02 12:10:17 +01:00
|
|
|
--test_tag_filters=learning_tests_discrete,-fake_gpus,-tf_only,-flaky,-multi_gpu
|
|
|
|
--test_arg=--framework=torch
|
2021-09-15 22:16:48 +02:00
|
|
|
rllib/...
|
2021-11-02 12:10:17 +01:00
|
|
|
- label: ":brain: RLlib: Learning cont. actions PyTorch (from rllib/tuned_examples/*.yaml)"
|
2021-09-15 22:16:48 +02:00
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-09-15 22:16:48 +02:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
2021-11-02 12:10:17 +01:00
|
|
|
--test_tag_filters=learning_tests_continuous,-fake_gpus,-tf_only,-flaky,-multi_gpu
|
|
|
|
--test_arg=--framework=torch
|
2021-01-25 16:05:59 -08:00
|
|
|
rllib/...
|
2021-11-02 12:10:17 +01:00
|
|
|
- label: ":brain: RLlib: Learning tests w/ 2 fake GPUs TF2-static-graph (from rllib/tuned_examples/*.yaml)"
|
2021-11-04 20:40:57 +01:00
|
|
|
conditions: ["RAY_CI_RLLIB_DIRECTLY_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-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
2021-11-02 12:10:17 +01:00
|
|
|
--test_tag_filters=fake_gpus,-torch_only,-flaky,-multi_gpu
|
|
|
|
--test_arg=--framework=tf
|
2021-08-31 14:56:53 +02:00
|
|
|
rllib/...
|
2021-11-02 12:10:17 +01:00
|
|
|
# TODO: (sven) tf2 (eager) multi-GPU
|
|
|
|
- label: ":brain: RLlib: Learning tests w/ 2 fake GPUs PyTorch (from rllib/tuned_examples/*.yaml)"
|
2021-11-04 20:40:57 +01:00
|
|
|
conditions: ["RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
|
2021-08-31 14:56:53 +02:00
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-08-31 14:56:53 +02:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
2021-11-02 12:10:17 +01:00
|
|
|
--test_tag_filters=fake_gpus,-tf_only,-flaky,-multi_gpu
|
|
|
|
--test_arg=--framework=torch
|
2021-01-25 16:05:59 -08:00
|
|
|
rllib/...
|
2021-09-15 22:16:48 +02:00
|
|
|
|
2021-08-16 22:01:01 +02:00
|
|
|
- label: ":brain: RLlib: Quick Agent train.py runs (TODO: obsolete)"
|
2021-11-04 20:40:57 +01:00
|
|
|
conditions: ["RAY_CI_RLLIB_DIRECTLY_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-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
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-10-26 10:11:39 -07:00
|
|
|
--test_tag_filters=quick_train,-flaky,-multi_gpu
|
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
|
|
|
|
2021-08-16 22:01:01 +02:00
|
|
|
- label: ":brain: RLlib: Trainer Tests"
|
2021-11-04 20:40:57 +01:00
|
|
|
conditions: ["RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
|
2021-08-16 22:01:01 +02:00
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-08-16 22:01:01 +02:00
|
|
|
# Test all tests in the `agents` (soon to be "trainers") dir:
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options)
|
|
|
|
--build_tests_only
|
2021-10-26 10:11:39 -07:00
|
|
|
--test_tag_filters=trainers_dir,-flaky,-multi_gpu
|
2021-08-16 22:01:01 +02:00
|
|
|
--test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
|
|
|
rllib/...
|
|
|
|
|
|
|
|
- label: ":brain: RLlib: Everything else (env-, evaluation-, ... dirs)"
|
2021-11-04 20:40:57 +01:00
|
|
|
conditions: ["RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
|
2021-04-16 12:16:12 -05:00
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
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-11-10 22:20:06 +01:00
|
|
|
--test_tag_filters=-learning_tests,-quick_train,-examples,-tests_dir,-trainers_dir,-documentation,-flaky,-multi_gpu
|
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
|
|
|
|
2021-07-26 10:52:55 -04:00
|
|
|
- label: ":brain: RLlib: Examples {A/B}"
|
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-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-10-26 10:11:39 -07:00
|
|
|
--test_tag_filters=examples_A,examples_B,-flaky,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
|
2021-07-26 10:52:55 -04:00
|
|
|
|
2021-09-15 22:16:48 +02:00
|
|
|
- label: ":brain: RLlib: Examples {Ca..t}"
|
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-09-15 22:16:48 +02:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-10-26 10:11:39 -07:00
|
|
|
--test_tag_filters=examples_C_AtoT,-flaky,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
|
2021-09-15 22:16:48 +02:00
|
|
|
- label: ":brain: RLlib: Examples {Cu..z}"
|
2021-07-26 10:52:55 -04:00
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-10-26 10:11:39 -07:00
|
|
|
--test_tag_filters=examples_C_UtoZ,-flaky,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1 rllib/...
|
2021-04-16 12:16:12 -05:00
|
|
|
|
2021-09-15 22:16:48 +02:00
|
|
|
- label: ":brain: RLlib: Examples {D/P}"
|
2021-04-16 12:16:12 -05:00
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-10-26 10:11:39 -07:00
|
|
|
--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,-flaky,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
2021-02-05 12:58:07 -08:00
|
|
|
rllib/...
|
2021-07-26 10:52:55 -04:00
|
|
|
|
|
|
|
- label: ":brain: RLlib: Examples {Q/Z}"
|
|
|
|
conditions: ["RAY_CI_RLLIB_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-10-26 10:11:39 -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,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
2021-02-05 12:58:07 -08:00
|
|
|
rllib/...
|
2021-07-26 10:52:55 -04:00
|
|
|
|
|
|
|
- label: ":brain: RLlib: tests/ dir (A-L)"
|
2021-11-04 20:40:57 +01:00
|
|
|
conditions: ["RAY_CI_RLLIB_DIRECTLY_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-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
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-09-15 22:16:48 +02:00
|
|
|
- label: ":brain: RLlib: tests/ dir (M-Z (no R))"
|
2021-11-04 20:40:57 +01:00
|
|
|
conditions: ["RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
|
2021-09-15 22:16:48 +02:00
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-09-15 22:16:48 +02:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-10-26 10:11:39 -07:00
|
|
|
--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,-flaky,-multi_gpu --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
2021-09-15 22:16:48 +02:00
|
|
|
rllib/...
|
|
|
|
- label: ":brain: RLlib: tests/ dir (R)"
|
2021-11-04 20:40:57 +01:00
|
|
|
conditions: ["RAY_CI_RLLIB_DIRECTLY_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-11-02 12:10:17 +01:00
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-01-25 16:05:59 -08:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-10-26 10:11:39 -07:00
|
|
|
--test_tag_filters=tests_dir_R,-flaky,-multi_gpu --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-11-10 22:20:06 +01:00
|
|
|
- label: ":brain: RLlib: Documentation code/examples"
|
|
|
|
conditions: ["RAY_CI_RLLIB_DIRECTLY_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- RLLIB_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
|
|
|
--test_tag_filters=documentation,-flaky --test_env=RAY_USE_MULTIPROCESSING_CPU_COUNT=1
|
|
|
|
rllib/...
|
|
|
|
|
2021-11-12 07:30:18 -08:00
|
|
|
- label: ":octopus: Tune tests {A-R; no RLlib}"
|
2021-11-11 01:50:51 -08:00
|
|
|
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 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-11-12 07:30:18 -08: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,tests_dir_M,tests_dir_N,tests_dir_O,tests_dir_P,tests_dir_Q,tests_dir_R,-example,-flaky,-py37,-soft_imports,-gpu_only,-rllib
|
2021-11-11 01:50:51 -08:00
|
|
|
python/ray/tune/...
|
|
|
|
|
2021-11-12 07:30:18 -08:00
|
|
|
- label: ":octopus: Tune tests {S-Z; no RLlib}"
|
2021-11-11 01:50:51 -08:00
|
|
|
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 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only
|
2021-11-12 07:30:18 -08:00
|
|
|
--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,-flaky,-py37,-soft_imports,-gpu_only,-rllib
|
2021-11-11 01:50:51 -08:00
|
|
|
python/ray/tune/...
|
|
|
|
|
|
|
|
- label: ":octopus: Tune examples {w/o tf/pytorch; no RLlib}"
|
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-11-04 10:58:34 +01:00
|
|
|
- TUNE_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-11-04 20:40:57 +01:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=example,-tf,-pytorch,-py37,-flaky,-soft_imports,-gpu_only,-rllib python/ray/tune/...
|
2021-04-16 12:16:12 -05:00
|
|
|
|
2021-11-11 01:50:51 -08:00
|
|
|
- label: ":octopus: Tune examples {w/ tf/pytorch; no RLlib}"
|
2021-04-16 12:16:12 -05:00
|
|
|
conditions: ["RAY_CI_TUNE_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-11-04 10:58:34 +01:00
|
|
|
- TUNE_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-11-04 20:40:57 +01:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=tf,-pytorch,-py37,-flaky,-soft_imports,-gpu_only,-rllib python/ray/tune/...
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=-tf,pytorch,-py37,-flaky,-soft_imports,-gpu_only,-rllib python/ray/tune/...
|
|
|
|
|
|
|
|
- label: ":octopus: :brain: Tune tests and examples {using RLlib}"
|
|
|
|
conditions: ["RAY_CI_TUNE_AFFECTED", "RAY_CI_RLLIB_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- TUNE_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=-gpu_only,rllib python/ray/tune/...
|
2021-06-16 03:50:21 +02:00
|
|
|
|
|
|
|
- label: ":octopus: Tune soft imports test"
|
|
|
|
conditions: ["RAY_CI_TUNE_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
# no TUNE_TESTING=1 on purpose
|
|
|
|
- ./ci/travis/install-dependencies.sh
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=soft_imports python/ray/tune/...
|
2021-01-25 16:05:59 -08:00
|
|
|
|
2021-10-18 22:27:46 -07:00
|
|
|
- label: ":steam_locomotive: Train tests and examples"
|
|
|
|
conditions: ["RAY_CI_TRAIN_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- SGD_TESTING=1 INSTALL_HOROVOD=1 ./ci/travis/install-dependencies.sh
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=-gpu_only python/ray/train/...
|
|
|
|
|
2021-01-25 16:05:59 -08:00
|
|
|
- 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-08-31 12:54:59 -07:00
|
|
|
- SGD_TESTING=1 INSTALL_HOROVOD=1 ./ci/travis/install-dependencies.sh
|
2021-10-02 02:34:05 +01:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=tf,-pytorch,-py37,-flaky,-client,-gpu_only python/ray/util/sgd/...
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=-tf,pytorch,-py37,-flaky,-client,-gpu_only python/ray/util/sgd/...
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=client_unit_tests,-gpu_only --test_env=RAY_CLIENT_MODE=1 python/ray/util/sgd/...
|
2021-01-25 16:05:59 -08:00
|
|
|
|
2021-06-19 18:22:23 -07:00
|
|
|
- label: ":octopus: Tune/SGD/Modin/Dask 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-08-12 08:39:31 -07:00
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-05-21 15:33:43 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=py37,-flaky,-client python/ray/tune/...
|
2021-05-28 16:13:06 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=-client python/ray/util/xgboost/...
|
2021-06-29 19:15:15 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only python/ray/util/horovod/...
|
2021-08-27 23:15:51 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only python/ray/util/ray_lightning/...
|
2021-01-25 16:05:59 -08:00
|
|
|
|
2021-08-30 21:27:39 +02:00
|
|
|
- label: ":octopus: Ludwig tests and examples. Python 3.7"
|
|
|
|
conditions: ["RAY_CI_TUNE_AFFECTED", "RAY_CI_SGD_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- SGD_TESTING=1 PYTHON=3.7 INSTALL_LUDWIG=1 INSTALL_HOROVOD=1 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only python/ray/tests/ludwig/...
|
|
|
|
|
2021-05-21 15:33:43 -07:00
|
|
|
- label: ":tropical_fish: ML Libraries w/ Ray Client Examples (Python 3.7)."
|
2021-06-08 10:08:14 -07:00
|
|
|
conditions: ["RAY_CI_TUNE_AFFECTED", "RAY_CI_SGD_AFFECTED"]
|
2021-05-21 15:33:43 -07:00
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- TUNE_TESTING=1 PYTHON=3.7 INSTALL_HOROVOD=1 ./ci/travis/install-dependencies.sh
|
2021-08-12 08:39:31 -07:00
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-06-12 20:25:45 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=client --test_env=RAY_CLIENT_MODE=1 python/ray/util/dask/...
|
2021-05-21 15:33:43 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=client,-flaky python/ray/tune/...
|
2021-06-01 13:21:26 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=client,-client_unit_tests python/ray/util/sgd/...
|
2021-05-28 16:13:06 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=client,-flaky python/ray/util/xgboost/...
|
2021-05-21 15:33:43 -07:00
|
|
|
|
2021-10-22 09:16:28 -07:00
|
|
|
- label: ":potable_water: Modin/Dask tests and examples. Python 3.7"
|
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
|
|
|
- DATA_PROCESSING_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only python/ray/tests/modin/...
|
|
|
|
# Dask tests and examples.
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=-client python/ray/util/dask/...
|
|
|
|
|
2021-08-12 08:39:31 -07:00
|
|
|
- label: ":potable_water: Workflow & Dataset tests (Python 3.7)"
|
2021-06-07 10:00:15 -07:00
|
|
|
conditions: ["RAY_CI_PYTHON_AFFECTED"]
|
|
|
|
commands:
|
|
|
|
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/travis/upload_build_info.sh; fi }; trap cleanup EXIT
|
2021-08-12 08:39:31 -07:00
|
|
|
- DATA_PROCESSING_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-09-13 17:45:18 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only python/ray/workflow/... python/ray/data/...
|
2021-06-07 10:00:15 -07:00
|
|
|
|
2021-01-25 16:05:59 -08:00
|
|
|
- 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-11-02 12:10:17 +01:00
|
|
|
- DOC_TESTING=1 PYTHON=3.7 ./ci/travis/install-dependencies.sh
|
|
|
|
# Because Python version changed, we need to re-install Ray here
|
|
|
|
- rm -rf ./python/ray/thirdparty_files; rm -rf ./python/ray/pickle5_files; ./ci/travis/ci.sh build
|
2021-06-15 15:34:45 -07:00
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=-tf,-pytorch,-py37,-post_wheel_build doc/...
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=tf,-pytorch,-py37,-post_wheel_build doc/...
|
|
|
|
- bazel test --config=ci $(./scripts/bazel_export_options) --build_tests_only --test_tag_filters=-tf,pytorch,-py37,-post_wheel_build doc/...
|