fix(ci): continue update-badges job on pylint/pyright errors
Badges should reflect the current score even when there are lint/type errors, not abort the job entirely. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,6 +31,7 @@ jobs:
|
||||
|
||||
- name: Run pylint and extract score
|
||||
id: pylint
|
||||
continue-on-error: true
|
||||
run: |
|
||||
# Run pylint and capture the score
|
||||
PYLINT_OUTPUT=$(python -m pylint bot_bottle/ 2>&1 | tail -1)
|
||||
@@ -45,6 +46,7 @@ jobs:
|
||||
|
||||
- name: Run pyright and check errors
|
||||
id: pyright
|
||||
continue-on-error: true
|
||||
run: |
|
||||
# Run pyright and check for errors
|
||||
PYRIGHT_OUTPUT=$(python -m pyright 2>&1 | tail -1)
|
||||
|
||||
Reference in New Issue
Block a user