Skip to content

Commit

Permalink
github: Add ruff to ci.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Tomi Valkeinen <[email protected]>
  • Loading branch information
tomba committed Oct 31, 2024
1 parent eb14bd7 commit cad4229
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint
pip install pylint ruff
- name: Test with unittest
run: |
python3 -m unittest discover -v tests/
run: python3 -m unittest discover -v tests/

- name: Analysing the code with Pyright
uses: jakebailey/pyright-action@v2

- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
run: pylint $(git ls-files '*.py')

- name: Analysing the code with Ruff
run: ruff check --output-format=github .

0 comments on commit cad4229

Please sign in to comment.