mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Use JobNames.STYLE_CHECK for consistency
This commit is contained in:
parent
7af7255b90
commit
bfa722bf62
@ -268,11 +268,11 @@ def _check_and_update_for_early_style_check(run_config: dict) -> None:
|
||||
jobs_to_do = run_config.get("jobs_data", {}).get("jobs_to_do", [])
|
||||
docker_to_build = run_config.get("docker_data", {}).get("missing_multi", [])
|
||||
if (
|
||||
"Style check" in jobs_to_do
|
||||
JobNames.STYLE_CHECK in jobs_to_do
|
||||
and docker_to_build
|
||||
and "clickhouse/style-test" not in docker_to_build
|
||||
):
|
||||
index = jobs_to_do.index("Style check")
|
||||
index = jobs_to_do.index(JobNames.STYLE_CHECK)
|
||||
jobs_to_do[index] = "Style check early"
|
||||
|
||||
|
||||
|
@ -1231,10 +1231,10 @@ CHECK_DESCRIPTIONS = [
|
||||
lambda x: x.startswith("Stress test ("),
|
||||
),
|
||||
CheckDescription(
|
||||
"Style Check",
|
||||
JobNames.STYLE_CHECK,
|
||||
"Runs a set of checks to keep the code style clean. If some of tests failed, "
|
||||
"see the related log from the report",
|
||||
lambda x: x == "Style Check",
|
||||
lambda x: x == JobNames.STYLE_CHECK,
|
||||
),
|
||||
CheckDescription(
|
||||
"Unit tests",
|
||||
|
@ -8,7 +8,6 @@ import sys
|
||||
from pathlib import Path
|
||||
from typing import List, Tuple
|
||||
|
||||
|
||||
from docker_images_helper import get_docker_image, pull_image
|
||||
from env_helper import REPO_COPY, TEMP_PATH
|
||||
from git_helper import GIT_PREFIX, git_runner
|
||||
@ -17,8 +16,6 @@ from report import JobReport, TestResults, read_test_results
|
||||
from ssh import SSHKey
|
||||
from stopwatch import Stopwatch
|
||||
|
||||
NAME = "Style Check"
|
||||
|
||||
|
||||
def process_result(
|
||||
result_directory: Path,
|
||||
|
Loading…
Reference in New Issue
Block a user