From a114b3f3bcba60df41091a03b6ed9b394c18c6b5 Mon Sep 17 00:00:00 2001 From: Mario Trangoni Date: Wed, 10 Apr 2019 19:42:18 +0200 Subject: [PATCH] ci: Add codespell spelling check Signed-off-by: Mario Trangoni --- .circleci/config.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index ecbfe4f..cf7cda4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -155,12 +155,23 @@ jobs: at: ../gh-pages - run: ./.circleci/deploy-docs.sh + codespell: + docker: + - image: circleci/python + + steps: + - checkout + - run: sudo pip install codespell + - run: codespell -S './.git*,./src/img*' -L que + workflows: version: 2 build-master: jobs: - build: filters: *filter-only-master + - codespell: + filters: *filter-only-master - lint: filters: *filter-only-master - test: @@ -170,6 +181,8 @@ workflows: jobs: - build: filters: *filter-not-release-or-master + - codespell: + filters: *filter-not-release-or-master - lint: filters: *filter-not-release-or-master - test: @@ -179,6 +192,8 @@ workflows: jobs: - build: filters: *filter-only-release + - codespell: + filters: *filter-only-release - lint: filters: *filter-only-release - test: @@ -186,6 +201,7 @@ workflows: - make-release: requires: - build + - codespell - lint - test filters: *filter-only-release