Skip to content
Snippets Groups Projects
Unverified Commit 6d6188e3 authored by Franck Nijhof's avatar Franck Nijhof Committed by GitHub
Browse files

GitHub Actions: Add mypy problem matcher (#37485)

parent fa6bd786
No related branches found
No related tags found
No related merge requests found
......@@ -669,6 +669,9 @@ jobs:
run: |
echo "Failed to restore Python virtual environment from cache"
exit 1
- name: Register mypy problem matcher
run: |
echo "::add-matcher::.github/workflows/matchers/mypy.json"
- name: Run mypy
run: |
. venv/bin/activate
......
{
"problemMatcher": [
{
"owner": "mypy",
"pattern": [
{
"regexp": "^(.+):(\\d+):\\s(error|warning):\\s(.+)$",
"file": 1,
"line": 2,
"severity": 3,
"message": 4
}
]
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment