Skip to content

Commit

Permalink
Disable dist tests on beta/stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Jul 17, 2023
1 parent 7ba605c commit 26a314b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/ci/stage-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
Tuple, Union

PGO_HOST = os.environ["PGO_HOST"]
CHANNEL = os.environ["RUST_RELEASE_CHANNEL"]
CHANNEL = os.environ.get("RUST_RELEASE_CHANNEL", "")

LOGGER = logging.getLogger("stage-build")

Expand Down Expand Up @@ -993,9 +993,10 @@ def execute_build_pipeline(timer: Timer, pipeline: Pipeline, runner: BenchmarkRu
record_metrics(pipeline, final_stage)

# Try builds can be in various broken states, so we don't want to gatekeep them with tests
if not is_try_build():
with timer.section("Run tests"):
run_tests(pipeline)
# Do not run tests, as they are broken for beta/stable versions in this script
# if not is_try_build():
# with timer.section("Run tests"):
# run_tests(pipeline)


def run(runner: BenchmarkRunner):
Expand Down

0 comments on commit 26a314b

Please sign in to comment.