|
|
@ -52,8 +52,7 @@ jobs: |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
set -ex |
|
|
|
set -ex |
|
|
|
if [[ -z $COMMIT_TRIGGERED_RUN || -z $MAIN_RUN ]]; then |
|
|
|
if [[ -z $COMMIT_TRIGGERED_RUN || -z $MAIN_RUN ]]; then |
|
|
|
bazel query 'attr(tags, "staleness_test", //...)' | xargs bazel test $BAZEL_FLAGS || \ |
|
|
|
bazel query 'attr(tags, "staleness_test", //...)' | xargs bazel test $BAZEL_FLAGS |
|
|
|
echo "Please run ./regenerate_stale_files.sh to regenerate stale files" |
|
|
|
|
|
|
|
else |
|
|
|
else |
|
|
|
bazel query 'attr(tags, "staleness_test", //...)' |
|
|
|
bazel query 'attr(tags, "staleness_test", //...)' |
|
|
|
fi |
|
|
|
fi |
|
|
|