mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +02:00
not compiling, testing, etc. for files that are
not code related
This commit is contained in:
@ -342,6 +342,10 @@ def process_pull(
|
||||
("Checking coverage...", _check_coverages),
|
||||
]
|
||||
|
||||
if all(not entry.files[comment.file].is_code_related for comment in entry.comments):
|
||||
# if the commented files are all not code related, why bother compiling and testing the code?
|
||||
pbar.update(5)
|
||||
else:
|
||||
with build_handler:
|
||||
try:
|
||||
for message, action in steps:
|
||||
|
Reference in New Issue
Block a user