mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Add a comment about broken logic for skipping checks
This commit is contained in:
parent
462e95d0fa
commit
22eddff0d5
@ -235,6 +235,7 @@ class PRInfo:
|
||||
return False
|
||||
|
||||
def can_skip_builds_and_use_version_from_master(self):
|
||||
# TODO: See a broken loop
|
||||
if "force tests" in self.labels:
|
||||
return False
|
||||
|
||||
@ -242,6 +243,7 @@ class PRInfo:
|
||||
return False
|
||||
|
||||
for f in self.changed_files:
|
||||
# TODO: this logic is broken, should be fixed before using
|
||||
if (
|
||||
not f.startswith("tests/queries")
|
||||
or not f.startswith("tests/integration")
|
||||
@ -252,6 +254,7 @@ class PRInfo:
|
||||
return True
|
||||
|
||||
def can_skip_integration_tests(self):
|
||||
# TODO: See a broken loop
|
||||
if "force tests" in self.labels:
|
||||
return False
|
||||
|
||||
@ -259,6 +262,7 @@ class PRInfo:
|
||||
return False
|
||||
|
||||
for f in self.changed_files:
|
||||
# TODO: this logic is broken, should be fixed before using
|
||||
if not f.startswith("tests/queries") or not f.startswith(
|
||||
"tests/performance"
|
||||
):
|
||||
@ -267,6 +271,7 @@ class PRInfo:
|
||||
return True
|
||||
|
||||
def can_skip_functional_tests(self):
|
||||
# TODO: See a broken loop
|
||||
if "force tests" in self.labels:
|
||||
return False
|
||||
|
||||
@ -274,6 +279,7 @@ class PRInfo:
|
||||
return False
|
||||
|
||||
for f in self.changed_files:
|
||||
# TODO: this logic is broken, should be fixed before using
|
||||
if not f.startswith("tests/integration") or not f.startswith(
|
||||
"tests/performance"
|
||||
):
|
||||
|
Loading…
Reference in New Issue
Block a user