Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Action lint Python code for syntax errors #4688

Merged
merged 4 commits into from Jan 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -16,7 +16,7 @@
# under the License.

# GH actions.
# We use it to cover windows and mac build
# We use it to cover windows and mac builds
# Jenkins is still the primary CI

name: WinMacBuild
Expand All @@ -40,6 +40,12 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- name: Lint Python
if: matrix.os == 'macOS-latest'
run: |
pip install flake8
flake8 . --count --select=E9,F63,F7 --show-source --statistics
- name: Initialize submodules
run: git submodule update --recursive --init

Expand Down