Skip to content

chore(deps): bump github/codeql-action from 2 to 3 #171

chore(deps): bump github/codeql-action from 2 to 3

chore(deps): bump github/codeql-action from 2 to 3 #171

Workflow file for this run

name: CI | Pylint
on:
push:
branches:
- "**"
- "!master-ci"
- "!dev-release"
- "!release"
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/[email protected]
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install pylint-exit
if [ -f requirements.txt ]; then pip3 install -r requirements.txt; fi
- name: Analyzing the code with Pylint
run: |
pylint openpod `ls -r|grep .py$|xargs` --disable=import-error,E1101 || pylint-exit --error-fail --warn-fail --convention-fail $?
pylint tests `ls -r|grep .py$|xargs` --disable=import-error,E1101,R0801 || pylint-exit --error-fail --warn-fail --convention-fail $?