Skip to content

Commit 23dd439

Browse files
committed
ci: be more strict when checking for errors/warnings in build logs
Look for "error|warning" anywhere in the line, not just at the start.
1 parent b736eeb commit 23dd439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/ci/check_build_warnings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
1919
from find_build_apps import BuildItem, setup_logging
2020

21-
WARNING_REGEX = re.compile(r"^\s*(?:error|warning)", re.MULTILINE | re.IGNORECASE)
21+
WARNING_REGEX = re.compile(r"(?:error|warning)", re.MULTILINE | re.IGNORECASE)
2222

2323
IGNORE_WARNS = [
2424
re.compile(r_str) for r_str in [

0 commit comments

Comments
 (0)