From 9caa0ea0405c7d98b6955424b7c8503b9bd2dda1 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Thu, 3 Jan 2019 15:51:12 -0500 Subject: .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. --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.gitlab-ci.yml') 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. -- cgit v1.2.1