Try with a custom action
This commit is contained in:
11
.github/workflows/python.yml
vendored
11
.github/workflows/python.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user