Skip to content

Commit

Permalink
Update pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bgorlick authored Jun 6, 2024
1 parent 968f4db commit 5078f2d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ jobs:
pip install pylint
- name: Run Pylint
run: |
pylint getai/*.py
- name: Report pylint errors
if: failure()
run: |
echo "Pylint found issues in the code. Please review the errors above."
pylint getai/*.py > pylint-report.txt || true
- name: Upload Pylint Report
uses: actions/upload-artifact@v3
with:
name: pylint-report-${{ matrix.os }}-${{ matrix.python-version }}
path: pylint-report.txt
- name: Display Pylint Report
run: cat pylint-report.txt

0 comments on commit 5078f2d

Please sign in to comment.