💚 Run backend linters on commits only
Try to force the linters to run even if the previous one fails.
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
when:
|
||||
- event: push
|
||||
- branch:
|
||||
exclude: [master, release/*]
|
||||
|
||||
steps:
|
||||
- name: ruff
|
||||
image: python:3.12-alpine
|
||||
commands:
|
||||
- pip install ruff
|
||||
- ruff --output-format github .
|
||||
when:
|
||||
- branch:
|
||||
exclude: [master, develop, release/*]
|
||||
|
||||
- name: mypy
|
||||
image: python:3.12-alpine
|
||||
commands: |
|
||||
pip install mypy
|
||||
mypy .
|
||||
|
||||
runs_on: [ success, failure ]
|
||||
|
Reference in New Issue
Block a user