[gnome-user-docs/codespell-ci: 1/2] ci: Add codespell check
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-user-docs/codespell-ci: 1/2] ci: Add codespell check
- Date: Tue, 13 Oct 2020 12:42:44 +0000 (UTC)
commit d461497c57d1b8a530d454fe26a7ef5b2fa8b36e
Author: Felipe Borges <felipeborges gnome org>
Date: Fri Oct 2 15:29:04 2020 +0200
ci: Add codespell check
This CI job will fail if codespell discovers typos in the merge
request.
See https://belmoussaoui.com/article/14-integrate-codespell-ci
.gitlab-ci.yml | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 227e8eb7..28e190fa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,3 +7,8 @@ build-fedora:
- ./autogen.sh ITSTOOL="/usr/bin/itstool --strict"
- make
- make check
+
+codespell:
+ image: registry.gitlab.gnome.org/gnome/gnome-user-docs:latest
+ script:
+ - codespell -S "*.png,*.po,.git,*.jpg" -f
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]