Skip to content

Commit a09592c

Browse files
author
lohanspies
committed
update pylint actions
1 parent a580537 commit a09592c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/python-test-publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,13 @@ jobs:
3030
pip install setuptools wheel twine pylint
3131
- name: Analysing the code with pylint
3232
run: |
33-
pylint `ls -R|grep .py$|xargs`
33+
python -m pylint --fail-under=10 `find -regextype egrep -regex '(.*.py)$'` |
34+
tee pylint.txt
35+
- name: Upload pylint.txt as artifact
36+
uses: actions/upload-artifact@v2
37+
with:
38+
name: pylint report
39+
path: pylint.txt
3440
- name: Build and publish
3541
env:
3642
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}

0 commit comments

Comments
 (0)