diff options
author | Haibo Huang <hhb@google.com> | 2020-09-10 20:14:50 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-09-10 20:14:50 +0000 |
commit | d7378813677f3f19a668f8480e596467f27f2790 (patch) | |
tree | 591ff81464b0d795b61d5c5d0712e94197c4ecc6 /.github/workflows/pylint.yml | |
parent | dcd41819a01b987f79124de2e7d0425f1e76626b (diff) | |
parent | c4f8afab29f05909f8b46336d7f9df767af10fd1 (diff) | |
download | google-benchmark-d7378813677f3f19a668f8480e596467f27f2790.tar.gz |
Upgrade google-benchmark to beb360d03e2a1a2673d9c2cf408c13b69fdb5627 am: daca24e319 am: c4f8afab29
Original change: https://android-review.googlesource.com/c/platform/external/google-benchmark/+/1423976
Change-Id: I90193b00cdd964af18fabdc9933def10ad2fa681
Diffstat (limited to '.github/workflows/pylint.yml')
-rw-r--r-- | .github/workflows/pylint.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 0000000..c869674 --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,26 @@ +name: pylint + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + pylint: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint pylint-exit conan + - name: Run pylint + run: | + pylint `find . -name '*.py'|xargs` || pylint-exit $? |