ray/release/asan_tests/run_asan_tests.sh
Kai Fricke 1d52ab819f
[release] release 1.3.0 results and test updates (#15366)
Convert a number of release tests and add logs for release 1.3.0
2021-05-04 22:10:04 +01:00

20 lines
No EOL
389 B
Bash
Executable file

#!/bin/bash
GIT_BRANCH=$1
GIT_COMMIT=$2
if [ ! -d ~/ray ]; then
git clone https://github.com/ray-project/ray.git ~/ray
fi
pushd ~/ray || exit 1
git fetch
git checkout "$GIT_BRANCH"
git pull origin "$GIT_BRANCH"
git checkout "$GIT_COMMIT"
bash ~/ray/ci/install_bazel.sh
export PATH="/home/ray/bin:$PATH"
cd ~/ray/ci/asan_tests/ && bash ./run.sh --git-sha="${GIT_COMMIT}"
popd || true