Fix linting in CI
@@ -11,14 +11,26 @@ on:
- "*"
jobs:
- build:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python ${{ matrix.python }}
+ uses: actions/setup-python@v1
+ with:
+ python-version: "3.9"
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install tox virtualenv
+ - name: Lint
+ run: "tox -e lint"
+ test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
name:
- - "linting"
-
- "ubuntu-py36"
- "ubuntu-py37"
- "ubuntu-py38"
@@ -37,11 +49,6 @@ jobs:
- "windows-py39"
include:
- - name: "linting"
- python: "3.8"
- os: ubuntu-latest
- tox_env: "lint"
-
- name: "ubuntu-py36"
python: "3.6"
os: ubuntu-latest
