Skip to content

Commit

Permalink
Use matrix to run minimal installs. (ray-project#36410)
Browse files Browse the repository at this point in the history
Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
  • Loading branch information
aslonnie authored and arvind-chandra committed Aug 31, 2023
1 parent f2be7f9 commit a7cbc6b
Showing 1 changed file with 8 additions and 34 deletions.
42 changes: 8 additions & 34 deletions .buildkite/pipeline.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,40 +266,14 @@
instance_size: medium
commands:
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
- ./ci/ci.sh test_minimal 3.7
- ./ci/ci.sh test_latest_core_dependencies 3.7

- label: ":python: Minimal install 3.8"
conditions: ["RAY_CI_PYTHON_AFFECTED"]
instance_size: medium
commands:
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
- ./ci/ci.sh test_minimal 3.8
- ./ci/ci.sh test_latest_core_dependencies 3.8

- label: ":python: Minimal install 3.9"
conditions: ["RAY_CI_PYTHON_AFFECTED"]
instance_size: medium
commands:
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
- ./ci/ci.sh test_minimal 3.9
- ./ci/ci.sh test_latest_core_dependencies 3.9

- label: ":python: Minimal install 3.10"
conditions: ["RAY_CI_PYTHON_AFFECTED"]
instance_size: medium
commands:
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
- ./ci/ci.sh test_minimal 3.10
- ./ci/ci.sh test_latest_core_dependencies 3.10

- label: ":python: Minimal install 3.11"
conditions: ["RAY_CI_PYTHON_AFFECTED"]
instance_size: medium
commands:
- cleanup() { if [ "${BUILDKITE_PULL_REQUEST}" = "false" ]; then ./ci/build/upload_build_info.sh; fi }; trap cleanup EXIT
- ./ci/ci.sh test_minimal 3.11
- ./ci/ci.sh test_latest_core_dependencies 3.11
- ./ci/ci.sh test_minimal {{matrix}}
- ./ci/ci.sh test_latest_core_dependencies {{matrix}}
matrix:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"

- label: ":python: Default install"
conditions: ["RAY_CI_PYTHON_AFFECTED"]
Expand Down

0 comments on commit a7cbc6b

Please sign in to comment.