Skip to content

Commit

Permalink
Add check pylint in CI
Browse files Browse the repository at this point in the history
Signed-off-by: JimmyYang20 <[email protected]>
  • Loading branch information
JimmyYang20 committed Aug 12, 2022
1 parent b91cfb9 commit 5422942
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
verify-and-lint:
runs-on: ubuntu-latest
name: Verify codegen/vendor/licenses, do lint
strategy:
matrix:
python-version: [ "3.6" ]
env:
GOPATH: ${{ github.workspace }}

Expand Down Expand Up @@ -50,6 +53,16 @@ jobs:
run: pycodestyle lib
working-directory: ${{ env.CODE_DIR }}

- name: Set python version
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Run python lint test
run: |
python -m pip install pylint
pylint lib
working-directory: ${{ env.CODE_DIR }}

build:
runs-on: ubuntu-latest
name: build gm and lc
Expand Down

0 comments on commit 5422942

Please sign in to comment.