Skip to content

Commit f48941d

Browse files
committed
Fix: Amend problem matcher to also match Python
Untested, based on microsoft/vscode-python#3828 (comment)
1 parent 580eea6 commit f48941d

File tree

4 files changed

+35
-18
lines changed

4 files changed

+35
-18
lines changed

.github/workflows/nml-problem-matcher.json

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "nml",
5+
"pattern": [
6+
{
7+
"regexp": "^.*nmlc (\\w+): \"(.*)\", line (\\d+): (.*)$",
8+
"file": 2,
9+
"line": 3,
10+
"severity": 1,
11+
"message": 4
12+
}
13+
]
14+
},
15+
{
16+
"owner": "python",
17+
"pattern": [
18+
{
19+
"regexp": "^.*File \\\"([^\\\"]|.*)\\\", line (\\d+).*",
20+
"file": 1,
21+
"line": 2
22+
},
23+
{
24+
"regexp": "^.*raise.*$"
25+
},
26+
{
27+
"regexp": "^\\s*(.*)\\s*$",
28+
"message": 1
29+
}
30+
]
31+
}
32+
]
33+
}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
apt-packages: git
1818
name: opengfx2
1919
pip-packages: nml pillow blend-modes numpy skimage tqdm
20-
problem-matcher: .github/workflows/nml-problem-matcher.json
20+
problem-matcher: .github/workflows/problem-matcher.json

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
apt-packages: git
1717
name: opengfx2
1818
pip-packages: nml pillow blend-modes numpy skimage tqdm
19-
problem-matcher: .github/workflows/nml-problem-matcher.json
19+
problem-matcher: .github/workflows/problem-matcher.json

0 commit comments

Comments
 (0)