diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-01-03 15:51:12 -0500 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2019-01-03 15:55:00 -0500 |
commit | 9caa0ea0405c7d98b6955424b7c8503b9bd2dda1 (patch) | |
tree | 15e30d14419fdad7c53b68c564e91b301dd411db | |
parent | feba48e7b30b568b77e6de6824dae99ec9309e2f (diff) | |
download | buildstream-9caa0ea0405c7d98b6955424b7c8503b9bd2dda1.tar.gz |
.gitlab-ci.yml: Update the CI to run the linter separately through tox
This should save us some cycles in CI, and also allow the
developer to more conveniently lint separately from testing.
-rw-r--r-- | .gitlab-ci.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7cec8d1ed..67248bc26 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -151,6 +151,18 @@ tests-fedora-missing-deps: - ${TEST_COMMAND} +# Lint separately from testing +lint: + stage: test + + before_script: + # Diagnostics + - python3 --version + + script: + - tox -e lint + except: + - schedules # Automatically build documentation for every commit, we want to know # if building documentation fails even if we're not deploying it. |