summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorgeorg2019-07-22 13:31:40 -0700
committerjvoisin2019-07-22 13:31:40 -0700
commit8bb2826f7a396cdc49542bf3bb868a9c61848ed2 (patch)
treeb6a56ffd460769ab661691eb9b891fe6b1db7e46 /.gitlab-ci.yml
parent5c33b290ae2727275ac4ba2128f17fa757f0e7c8 (diff)
CI: Add job to run codespell, a spell checking software
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 06ab608..4d1f844 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,15 @@ linting:bandit:
13 - bandit -r ./nautilus/ --format txt --skip B101 13 - bandit -r ./nautilus/ --format txt --skip B101
14 - bandit -r ./libmat2 --format txt --skip B101,B404,B603,B405,B314 14 - bandit -r ./libmat2 --format txt --skip B101,B404,B603,B405,B314
15 15
16linting:codespell:
17 image: $CONTAINER_REGISTRY:linting
18 stage: linting
19 script:
20 # Run codespell to check for spelling errors; ignore errors about binary
21 # files, use a config with ignored words and exclude the git directory,
22 # which might contain false positives
23 - codespell -q 2 -I utils/ci/codespell/ignored_words.txt -S .git
24
16linting:pylint: 25linting:pylint:
17 image: $CONTAINER_REGISTRY:linting 26 image: $CONTAINER_REGISTRY:linting
18 stage: linting 27 stage: linting