Skip to content

Commit

Permalink
Merge pull request #110 from rlcee/fm_231203b
Browse files Browse the repository at this point in the history
look at comment lines individually
  • Loading branch information
rlcee authored Dec 3, 2023
2 parents 89d41c4 + 89dfa35 commit 01acbad
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Mu2eCI/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,13 @@ def check_test_cmd_mu2e(full_comment, repository):

for regex, handler in test_suites.TESTS:
# returns the first match in the comment
match = regex.fullmatch(full_comment)

match = None
for line in full_comment.replace("\r", "").split("\n"):
match = regex.fullmatch(line)
if match:
break

if match is None:
log.debug("NOT MATCHED - %s", str(regex.pattern))
continue
Expand Down

0 comments on commit 01acbad

Please sign in to comment.