CircleCI: Adds pylint test for all python files in test/ directory.

This commit is contained in:
Christian Parpart
2020-02-04 17:00:05 +01:00
committed by chriseth
parent 7a194ffdab
commit 05b4ac0d29
3 changed files with 147 additions and 0 deletions
+17
View File
@@ -257,6 +257,22 @@ jobs:
name: Check for C++ coding style
command: ./scripts/check_style.sh
chk_pylint:
docker:
- image: buildpack-deps:eoan
steps:
- checkout
- run:
name: Install pip
command: apt -q update && apt install -y python3-pip
- run:
name: Install pylint
command: python3 -m pip install pylint z3-solver
# also z3-solver to make sure pylint knows about this module
- run:
name: Linting Python Scripts
command: ./scripts/pylint_all.py
chk_buglist:
docker:
- image: circleci/node
@@ -718,6 +734,7 @@ workflows:
# DISABLED FOR 0.6.0 - chk_docs_examples: *workflow_trigger_on_tags
- chk_buglist: *workflow_trigger_on_tags
- chk_proofs: *workflow_trigger_on_tags
- chk_pylint: *workflow_trigger_on_tags
# build-only
- b_docs: *workflow_trigger_on_tags