Add a linter workflow to Github Actions
parent
720b3657fb
commit
76837219b5
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
name: Linting
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['3.6']
|
||||
|
||||
name: Linting
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
architecture: x64
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install -r development.txt
|
||||
|
||||
- name: Lint
|
||||
run: make lint
|
Loading…
Reference in New Issue