GitHub Actions: Add pylint problem matcher (#37463)
* GitHub Actions: Add pylint problem matcher * Create a pylint issue to test * Create another pylint issue to test * Register problem matcher in same step * Apply possible workaround * Disable problem matcher to catch raw output * Trying again with new CI containers * Extend problem matcher with errors and warnings * Improve matching, keep error code in message * Revert "Create another pylint issue to test" This reverts commit a90e23656eaddd4f1c2995572cc39a0d41022a5f. * Revert "Create a pylint issue to test" This reverts commit 9dd5148eb4ef74c3261144426d1b0b0f337cb3e5. * Fix stable name in job description
This commit is contained in:
1 parent
c71fcc8cbb
commit
b4aa6f9f8b
2 files changed
+35
No files matched your search
@@ -631,6 +631,9 @@ jobs:
|
||||
run: |
|
||||
echo "Failed to restore Python virtual environment from cache"
|
||||
exit 1
|
||||
- name: Register pylint problem matcher
|
||||
run: |
|
||||
echo "::add-matcher::.github/workflows/matchers/pylint.json"
|
||||
- name: Run pylint
|
||||
run: |
|
||||
. venv/bin/activate
|
||||
|
||||
Reference in new issue
Block a user