summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <chandan@chandansingh.net>2019-07-08 23:32:06 +0100
committerChandan Singh <chandan@chandansingh.net>2019-09-02 21:56:37 +0100
commit2568f6f5c920683017c2e1ed4eaba438cac8b77f (patch)
tree82434f0a2d181535a0e72cc0737eb44cbc6fc5a3
parent0515227530f37caad8f1d64ad80ad9b89f6e3f9d (diff)
downloadbuildstream-chandan/mypy.tar.gz
.gitlab-ci.yml: Run mypy for validating changeschandan/mypy
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9b7db92cf..51a39faa2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -195,6 +195,14 @@ tests-spawn-multiprocessing-start-method:
variables:
BST_FORCE_START_METHOD: "spawn"
+# Run type checkers
+mypy:
+ stage: test
+
+ script:
+ - tox -e mypy
+ except:
+ - schedules
# Lint separately from testing
lint: