From b2e9d9317003130a75b5cd3f34fa2f1cbfac83bd Mon Sep 17 00:00:00 2001 From: Marcel Amirault Date: Mon, 7 Feb 2022 07:36:35 +0000 Subject: Speed up nanoc by only testing root html files --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 40af1619..2532946b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -240,6 +240,10 @@ test_internal_links_and_anchors: - .cache_gem stage: test script: + # Only check files in top-level directories. This means a much faster and less repetitive check of global navigation links. + - echo " all:" >> nanoc.yaml + - echo " exclude_files:" >> nanoc.yaml + - echo " - '\/(ee|runner|omnibus|charts)\/.*\/.*'" >> nanoc.yaml - "parallel time bundle exec nanoc check ::: internal_links internal_anchors" # -- cgit v1.2.3