]> git.ipfire.org Git - thirdparty/git.git/commitdiff
gitlab-ci: add job to run `make check-docs`
authorPatrick Steinhardt <ps@pks.im>
Thu, 6 Jun 2024 08:01:10 +0000 (10:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Jun 2024 15:20:51 +0000 (08:20 -0700)
Add another job to execute `make check-docs`, which lints our
documentation and makes sure that expected manpages exist. This job
mirrors the same job that we already have for GitHub Actions.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitlab-ci.yml

index f676959ca03623dc8c0fcc8718549b083dcb5056..37b991e08079fcbe01c3f5ca7d8eaa28e21e21db 100644 (file)
@@ -122,3 +122,12 @@ check-whitespace:
     - ./ci/check-whitespace.sh "$CI_MERGE_REQUEST_TARGET_BRANCH_SHA"
   rules:
     - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+
+documentation:
+  image: ubuntu:latest
+  variables:
+    jobname: Documentation
+  before_script:
+    - ./ci/install-dependencies.sh
+  script:
+    - ./ci/test-documentation.sh