diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index fc10904..fa07088 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -45,3 +45,20 @@ jobs: run: python -m pip install tox tox-gh-actions - name: Test with tox ${{ matrix.python-version }} run: tox + + lint: + name: Linting + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Set up Python 3.6 + uses: actions/setup-python@v2 + with: + python-version: 3.6 + - name: Install dependencies + run: python -m pip install tox + - name: Lint with tox + run: tox + env: + TOXENV: lint diff --git a/tox.ini b/tox.ini index eddb7ed..c2c317b 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,7 @@ envlist = python = 2.7: py27 3.5: py35 - 3.6: py36, lint + 3.6: py36 3.7: py37 3.8: py38