diff options
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 829bcd4fc..2244de3d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,8 @@ before_script: - adduser -m buildstream - chown -R buildstream:buildstream . + - pip3 install pytest-pylint + ##################################################### # Prepare stage # ##################################################### @@ -62,6 +64,13 @@ source_dist: # Test stage # ##################################################### +linting: + stage: test + variables: + PYTEST_ADDOPTS: "--color=yes" + script: + - python3 setup.py test --addopts '--no-cov --pylint --pep8 -m "pep8 or pylint"' + # Run premerge commits # linux-tests: |