summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
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.