Skip to content

Commit

Permalink
echo
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Nov 30, 2022
1 parent 16ce4d0 commit a771df4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dockers/base-xla/tpu_workflow_lite.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ local tputests = base.BaseTest {
source ~/.bashrc
conda activate lightning
echo "--- Fetch the SHA's changes ---"
echo "--- Cloning lightning repo ---"
git clone --single-branch https://github.com/Lightning-AI/lightning.git
cd lightning
# PR triggered it, check it out
if [ -n "{PR_NUMBER}" ]; then # if PR number is not empty
# PR triggered it, check it out
echo "--- Fetch the PR changes ---"
git fetch origin pull/{PR_NUMBER}/head:ACTUAL_PR
echo "--- Checkout PR changes ---"
git checkout ACTUAL_PR
fi
Expand Down

0 comments on commit a771df4

Please sign in to comment.