not compiling, testing, etc. for files that are

not code related
This commit is contained in:
Karma Riuk
2025-04-01 09:20:37 +02:00
parent 0b238db879
commit c31686ad63

View File

@ -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: