mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Automatic style fix
This commit is contained in:
parent
8f26f77505
commit
367d41e7f0
@ -209,7 +209,12 @@ class CiSettings:
|
||||
res = {}
|
||||
for job, job_config in job_configs.items():
|
||||
if self._check_if_selected(
|
||||
job, job_config, is_release=is_release, is_pr=is_pr, is_mq=is_mq, labels=labels
|
||||
job,
|
||||
job_config,
|
||||
is_release=is_release,
|
||||
is_pr=is_pr,
|
||||
is_mq=is_mq,
|
||||
labels=labels,
|
||||
):
|
||||
res[job] = job_config
|
||||
|
||||
|
@ -167,10 +167,14 @@ class TestCIOptions(unittest.TestCase):
|
||||
)
|
||||
|
||||
jobs_configs = {job: JobConfig() for job in _TEST_JOB_LIST}
|
||||
jobs_configs["fuzzers"].run_by_label = (
|
||||
jobs_configs[
|
||||
"fuzzers"
|
||||
].run_by_label = (
|
||||
"TEST_LABEL" # check "fuzzers" appears in the result due to the label
|
||||
)
|
||||
jobs_configs["Integration tests (asan)"].release_only = (
|
||||
jobs_configs[
|
||||
"Integration tests (asan)"
|
||||
].release_only = (
|
||||
True # still must be included as it's set with include keywords
|
||||
)
|
||||
filtered_jobs = list(
|
||||
@ -293,9 +297,9 @@ class TestCIOptions(unittest.TestCase):
|
||||
self.assertCountEqual(ci_options.include_keywords, ["analyzer"])
|
||||
self.assertIsNone(ci_options.exclude_keywords)
|
||||
jobs_configs = {job: JobConfig() for job in _TEST_JOB_LIST}
|
||||
jobs_configs["fuzzers"].run_by_label = (
|
||||
"TEST_LABEL" # check "fuzzers" does not appears in the result
|
||||
)
|
||||
jobs_configs[
|
||||
"fuzzers"
|
||||
].run_by_label = "TEST_LABEL" # check "fuzzers" does not appears in the result
|
||||
jobs_configs["Integration tests (asan)"].release_only = True
|
||||
filtered_jobs = list(
|
||||
ci_options.apply(
|
||||
|
Loading…
Reference in New Issue
Block a user