Skip to content

Fix build report not parsing the last line #860

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scripts/gha/report_build_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ def analyze_log(text, url, firestore_only):
#
# Assuming that each product begins with no spaces, and all subsequent lines will be indented
regex_line = r"firestore:\n( .[^\n]*\n)*"
# Add a newline at the end, to help the regex format check the last line
text = text + "\n"
if firestore_only:
# Reduce the text log to just what is matched (if no match, just use everything)
match = re.search(regex_line, text, re.MULTILINE)
Expand Down