Added logging for happo tests (#855)
diff --git a/gcloud_run.sh b/gcloud_run.sh
index 950d3fe..9f03318 100755
--- a/gcloud_run.sh
+++ b/gcloud_run.sh
@@ -12,10 +12,12 @@
tar xzf gcloud.tar.gz -C ${HOME}
${HOME}/google-cloud-sdk/install.sh --quiet --usage-reporting false
fi
-gcloud auth activate-service-account --key-file ${HOME}/gcloud-service-key.json
+gcloud auth activate-service-account --key-file ${HOME}/.cache/gcloud-service-key.json
gcloud config set project lottie-snapshots
gcloud firebase test android run --no-auto-google-login --type instrumentation --device model=Nexus5X,version=26 --app LottieSample/build/outputs/apk/debug/LottieSample-debug.apk --test LottieSample/build/outputs/apk/androidTest/debug/LottieSample-debug-androidTest.apk
result=$?
-./post_pr_comment.js
+if [ "$result" -eq "0" ]; then
+ ./post_pr_comment.js
+fi
exit $result
\ No newline at end of file