Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriy-sobolev committed Jan 22, 2025
1 parent 9e0e856 commit d4b9eeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/job_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def generate_warning_table(build_log_content):
for match in warning_regex.finditer(build_log_content)
)
warning_histogram = Counter(warnings)

# The slowest part: optimize if needed (takes ~3sec for 100K lines)
warning_examples = {
w: re.search(rf".*{w}.*", build_log_content).group(0)
for w in warning_histogram
Expand Down

0 comments on commit d4b9eeb

Please sign in to comment.