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
3 changed files with 11 additions and 1 deletions
+3 -1
View File
@@ -437,7 +437,9 @@ init() {
}
build() {
_bazel_build_before_install
if [ "${LINT-}" != 1 ]; then
_bazel_build_before_install
fi
if ! need_wheels; then
install_ray
+6
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
+2
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() {