[libvirt PATCH v2 2/3] ci: Add spell checking

Tim Wiederhake twiederh at redhat.com
Mon Jan 10 15:41:26 UTC 2022


Allow failure to not have false-positives fail the builds.

Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
---
 .gitlab-ci.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6ba11a0431..5e46f3dcb8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -87,6 +87,18 @@ codestyle:
     - meson test -C build --suite syntax-check --no-rebuild --print-errorlogs
 
 
+spellcheck:
+  stage: sanity_checks
+  image: $CI_REGISTRY_IMAGE/ci-fedora-35:latest
+  allow_failure: true
+  needs:
+    - x86_64-fedora-35-container
+  before_script:
+    - *script_variables
+  script:
+    - scripts/check-spelling.py
+
+
 # This artifact published by this job is downloaded to push to Weblate
 # for translation usage:
 #    https://gitlab.com/libvirt/libvirt/-/jobs/artifacts/master/download?job=potfile
-- 
2.31.1




More information about the libvir-list mailing list