Skip to content

Commit

Permalink
[ci] fix test result upload on release branch (ray-project#43859)
Browse files Browse the repository at this point in the history
should not upload test results on the release branch. missed a return statement here.

Signed-off-by: can <[email protected]>
  • Loading branch information
can-anyscale authored and ryanaoleary committed Jun 7, 2024
1 parent d770f35 commit ed200ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/ray_ci/tester_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def run_tests(
def _persist_test_results(self, team: str, bazel_log_dir: str) -> None:
if os.environ.get("BUILDKITE_BRANCH") != "master":
logger.info("Skip upload test results. We only upload on master branch.")
return
if os.environ.get("BUILDKITE_PIPELINE_ID") != PIPELINE_POSTMERGE:
logger.info(
"Skip upload test results. We only upload on postmerge pipeline."
Expand Down

0 comments on commit ed200ba

Please sign in to comment.