[Buildkite] Cleanup test wheel environment (#17912)

The macOS builders are shared and reused across commits.
@clarkzinzow found a bug that the installed version of the wheel
is not the on in PR. This should fix it.

https://buildkite.com/ray-project/ray-builders-pr/builds/11628#be6c5fd6-14a2-449c-8f35-e3382a6ee647
This commit is contained in:
Simon Mo 2021-08-18 08:32:35 -07:00 committed by GitHub
parent a428f10ebe
commit 8fe970f4e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,6 +113,7 @@ elif [[ "$platform" == "macosx" ]]; then
PYTHON_WHEEL="$(printf "%s\n" "$ROOT_DIR"/../../.whl/*"$PY_WHEEL_VERSION"* | head -n 1)"
# Install the wheel.
"$PIP_CMD" uninstall -y ray
"$PIP_CMD" install -q "$PYTHON_WHEEL"
# Install the dependencies to run the tests.