Skip to content

Commit

Permalink
Making ruff and pylint parllel
Browse files Browse the repository at this point in the history
  • Loading branch information
boazhaim committed Nov 19, 2024
1 parent be31cf1 commit da470e7
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/ufm_log_analyzer_ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,28 @@ jobs:
cd $SCRIPT_DIR
# Install dependencies
pip install -r src/loganalyze/requirements.txt
pip install pylint==3.2.6
# Run PyLint
pylint --rcfile=src/loganalyze/.pylintrc src/loganalyze
ruff:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@main

- name: Set up Python
uses: actions/setup-python@main
with:
python-version: 3.9

- name: Install and run Ruff
run: |
SCRIPT_DIR="plugins/ufm_log_analyzer_plugin"
cd $SCRIPT_DIR
pip install ruff

# Run Ruff
ruff format --diff --check src/loganalyze

0 comments on commit da470e7

Please sign in to comment.