Copy lint from Azure Pipelines to GitHub Actions (#4058)

Copy lint from Azure Pipelines to GitHub Actions
This commit is contained in:
Hugo van Kemenade 2019-09-13 08:53:59 +03:00 committed by GitHub
commit 929c817014
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,29 @@
name: Lint
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.7]
name: Python ${{ matrix.python }}
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox
- name: Lint
run: tox -e lint