Skip to content

Commit

Permalink
update pylint actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lohanspies committed Apr 7, 2021
1 parent a580537 commit a09592c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/python-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ jobs:
pip install setuptools wheel twine pylint
- name: Analysing the code with pylint
run: |
pylint `ls -R|grep .py$|xargs`
python -m pylint --fail-under=10 `find -regextype egrep -regex '(.*.py)$'` |
tee pylint.txt
- name: Upload pylint.txt as artifact
uses: actions/upload-artifact@v2
with:
name: pylint report
path: pylint.txt
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
Expand Down

0 comments on commit a09592c

Please sign in to comment.