Files
OpenSK/.github/workflows/pylint.yml
Jean-Michel Picod feacd72d6e Add Github workflows
These should do the checks for us.
Not an expert though so it may need a bit of tweaking before they do
what we want them to do.
2020-02-24 19:00:51 +01:00

28 lines
682 B
YAML

name: pylint
on:
push:
paths:
- '**/*.py'
- '.pylintrc'
- '!third_party/**'
jobs:
pylint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install tockloader
- name: Test code with pylint
run: |
pip install pylint
pylint --rcfile=.pylintrc