Skip to content

Example based

Example based #422

Workflow file for this run

name: pylint
on:
pull_request:
workflow_dispatch:
jobs:
checks:
runs-on: ubuntu-20.04
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Check lint
run: tox -e py$(echo ${{ matrix.python-version }} | tr -d .)-lint