1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-23 18:29:20 +01:00

GitHub Actions: Add pytest problem matcher (#37508)

This commit is contained in:
Franck Nijhof
2020-07-05 14:10:42 +02:00
committed by GitHub
parent a08cb2ca9d
commit c3b5bf7437
2 changed files with 28 additions and 0 deletions

18
.github/workflows/matchers/python.json vendored Normal file
View File

@@ -0,0 +1,18 @@
{
"problemMatcher": [
{
"owner": "python",
"pattern": [
{
"regexp": "^\\s*File\\s\\\"(.*)\\\",\\sline\\s(\\d+),\\sin\\s(.*)$",
"file": 1,
"line": 2
},
{
"regexp": "^\\s*raise\\s(.*)\\(\\'(.*)\\'\\)$",
"message": 2
}
]
}
]
}