mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-23 10:42:14 +01:00
GHA: Add a pylint run reporting errors in the code
This commit is contained in:
parent
d941cc4d57
commit
7d9017d0b3
15
.github/workflows/linters.yaml
vendored
15
.github/workflows/linters.yaml
vendored
@ -35,6 +35,21 @@ jobs:
|
||||
src: "."
|
||||
version: "1.5.1"
|
||||
|
||||
pylint_errors:
|
||||
name: 'Run pylint that reports only errors'
|
||||
runs-on: 'ubuntu-latest'
|
||||
steps:
|
||||
- name: 'Install packages'
|
||||
run: |
|
||||
sudo apt-get -y update
|
||||
sudo apt-get -y --no-install-recommends install pylint python3-rpm
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: 'Run pylint --errors-only'
|
||||
run: |
|
||||
pylint --errors-only osc
|
||||
|
||||
pylint_plugins:
|
||||
name: 'Diff pylint runs on osc plugin'
|
||||
runs-on: 'ubuntu-latest'
|
||||
|
Loading…
x
Reference in New Issue
Block a user