Skip uneeded steps on CI (#9582)

Co-authored-by: Mehrdad <noreply@github.com>
This commit is contained in:
mehrdadn 2020-07-20 12:41:57 -07:00 committed by GitHub
parent 150880e5e9
commit 02cbd4fb7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View file

@ -437,7 +437,9 @@ init() {
}
build() {
if [ "${LINT-}" != 1 ]; then
_bazel_build_before_install
fi
if ! need_wheels; then
install_ray

View file

@ -51,6 +51,12 @@ install_base() {
}
install_miniconda() {
if [ "${OSTYPE}" = msys ]; then
# Windows is on GitHub Actions, whose built-in Python installations we added direct support for.
python --version
return 0
fi
local conda="${CONDA_EXE-}" # Try to get the activated conda executable
if [ -z "${conda}" ]; then # If no conda is found, try to find it in PATH

View file

@ -38,6 +38,8 @@ install_ray() {
uninstall_ray() {
pip uninstall -y ray
rm -r -f "${WORKSPACE_DIR}"/python/ray/thirdparty_files
}
build_wheel_windows() {