aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorgeorg <georg@riseup.net>2019-07-22 13:31:40 -0700
committerjvoisin <julien.voisin@dustri.org>2019-07-22 13:31:40 -0700
commit8bb2826f7a396cdc49542bf3bb868a9c61848ed2 (patch)
treeb6a56ffd460769ab661691eb9b891fe6b1db7e46 /.gitlab-ci.yml
parent5c33b290ae2727275ac4ba2128f17fa757f0e7c8 (diff)
downloadmat2-8bb2826f7a396cdc49542bf3bb868a9c61848ed2.tar.gz
mat2-8bb2826f7a396cdc49542bf3bb868a9c61848ed2.tar.bz2
mat2-8bb2826f7a396cdc49542bf3bb868a9c61848ed2.zip
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:
- bandit -r ./nautilus/ --format txt --skip B101
- bandit -r ./libmat2 --format txt --skip B101,B404,B603,B405,B314
+linting:codespell:
+ image: $CONTAINER_REGISTRY:linting
+ stage: linting
+ script:
+ # Run codespell to check for spelling errors; ignore errors about binary
+ # files, use a config with ignored words and exclude the git directory,
+ # which might contain false positives
+ - codespell -q 2 -I utils/ci/codespell/ignored_words.txt -S .git
+
linting:pylint:
image: $CONTAINER_REGISTRY:linting
stage: linting