diff options
| author | bors <bors@rust-lang.org> | 2023-08-01 07:18:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-01 07:18:59 +0000 |
| commit | efb1be3a08a3ccaa8d8fb13e1568ccab22c50467 (patch) | |
| tree | 1463bfdaad164381e62ee62d515b193b2efc496f /src | |
| parent | a47f796a36593d352d79ee66d7f4c12d100f5241 (diff) | |
| parent | 26a314b9cd6b1e3d2ff2736b2e04340f8b433a61 (diff) | |
Auto merge of #113786 - Kobzol:ci-disable-dist-tests, r=Mark-Simulacrum
Disable dist tests on beta/stable Should resolve the beta/stable part of https://github.com/rust-lang/rust/issues/113784. To be extra safe, I also made the read of `RUST_RELEASE_CHANNEL` optional, just in case it was missing. r? `@Mark-Simulacrum`
Diffstat (limited to 'src')
| -rwxr-xr-x | src/ci/stage-build.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ci/stage-build.py b/src/ci/stage-build.py index bdf562f1354..3bb3b141862 100755 --- a/src/ci/stage-build.py +++ b/src/ci/stage-build.py @@ -22,7 +22,7 @@ from typing import Callable, ContextManager, Dict, Iterable, Iterator, List, Opt 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") @@ -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): |
