Lint using GitHub Actions

This commit is contained in:
Hugo 2019-08-31 10:23:47 +03:00
parent cd880d6358
commit fb257ecfd9

27
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- 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
python -m pip install --upgrade tox
- name: Lint
run: tox -e lint