diff --git a/.github/workflows/integration_problem_matcher.json b/.github/workflows/integration_problem_matcher.json index d016124..5d24464 100644 --- a/.github/workflows/integration_problem_matcher.json +++ b/.github/workflows/integration_problem_matcher.json @@ -4,7 +4,7 @@ "owner": "loguru-parser", "pattern": [ { - "regexp": "^\\[.*\\| (ERROR|WARNING)\\s+\\| (.*):(\\d+) \\| (.*?)\\]$", + "regexp": "^\\[.*\\|.*?(ERROR|WARNING).*?\\| (.*):(\\d+) \\| (.*?)\\]$", "severity": 1, "file": 2, "line": 3, diff --git a/.github/workflows/loguru_test_matcher.yml b/.github/workflows/loguru_test_matcher.yml index 0bf6260..16df4ae 100644 --- a/.github/workflows/loguru_test_matcher.yml +++ b/.github/workflows/loguru_test_matcher.yml @@ -4,8 +4,9 @@ on: push: env: - # LOGURU_FORMAT: "[{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {file}:{line} | {name}:{function} - {message}]" - LOGURU_FORMAT: "[{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {file}:{line} | {name}:{function} - {message}]" + # https://github.com/actions/runner/issues/2341 - problem matcher do not work on colored output + LOGURU_FORMAT: "[{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {file}:{line} | {name}:{function} - {message}]" + #LOGURU_FORMAT: "[{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {file}:{line} | {name}:{function} - {message}]" jobs: integration-test: