mirror of
https://github.com/actions-rs/cargo.git
synced 2024-12-22 07:35:48 +02:00
Add problem matchers for panic and test failure
This commit is contained in:
parent
9e120dd99b
commit
fd2aa4a2d1
1 changed files with 22 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "rust",
|
||||
"owner": "rust-diagnostic",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(warning|warn|error)(\\[(.*)\\])?: (.*)$",
|
||||
|
@ -16,6 +16,27 @@
|
|||
"column": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"owner": "rust-panic",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(thread\\s+'[^']+'\\s+panicked\\s+at\\s+'[^']+(?:'|$))(?:,\\s+([^/\\\\][^:]+):(\\d+):(\\d+))?",
|
||||
"file": 2,
|
||||
"line": 3,
|
||||
"column": 4,
|
||||
"message": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"owner": "rust-test-failure",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(test\\s+\\w+\\s+\\.{3}\\s+FAILED)",
|
||||
"message": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue