Try with a custom action

This commit is contained in:
Jean-Michel Picod
2020-02-27 20:07:29 +01:00
parent db3b23cf22
commit fa19a80366
4 changed files with 69 additions and 4 deletions

View File

@@ -23,11 +23,14 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools wheel
pip install tockloader pylint
- name: Register matcher
run: echo ::add-matcher::./.github/python_matcher.json
- name: Test code with pylint
run: |
echo ::add-matcher::./.github/python_matcher.json
find . -type f -name '*.py' -exec echo PYLINT:\{\} \; -exec pylint --rcfile=.pylintrc --score=n \{\} \;
# find . ! -path "./third_party/*" -type f -name '*.py' -exec echo PYLINT:\{\} \; -exec pylint --rcfile=.pylintrc --score=n \{\} \;
uses: ./github_actions/pylint
with:
config-file: .pylintrc
files: '**/*.py'
exclude-path: third_party
yapf:
runs-on: ubuntu-18.04