1
0
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:
Daniel Mach 2023-01-20 16:28:55 +01:00
parent d941cc4d57
commit 7d9017d0b3

View File

@ -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'