diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2022-02-07 10:36:35 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2022-02-07 10:36:35 +0300 |
commit | b2e9d9317003130a75b5cd3f34fa2f1cbfac83bd (patch) | |
tree | b026c8628e77d8fe448e554774855a427ea56a87 /.gitlab-ci.yml | |
parent | fbf79773ba7499b23b8d8bf58eada53b74177145 (diff) |
Speed up nanoc by only testing root html files
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 4 insertions, 0 deletions
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" # |