Skip to content

Commit

Permalink
Merge pull request kserve#23 from kimwnasptd/feature-kimwnasptd-flake…
Browse files Browse the repository at this point in the history
…-gh-action

Introduce a GH action for flake8
  • Loading branch information
yuzisun authored Jan 9, 2022
2 parents ae0e46c + 7126657 commit 37238c5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/flake-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Python checks

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
flake8-lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Check out source repository
uses: actions/checkout@v2
- name: Set up Python environment
uses: actions/setup-python@v1
with:
python-version: "3.7"
- name: flake8 Lint
uses: py-actions/flake8@v1
with:
path: backend

0 comments on commit 37238c5

Please sign in to comment.