From 3b7d936c8deee48e41819abb1784ca4de475beb2 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Fri, 23 Jul 2021 09:11:23 +0200
Subject: [PATCH] [ci] Lizard word cloud html as job artifact.

---
 scripts/ci/jobs/build-docs.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/ci/jobs/build-docs.yml b/scripts/ci/jobs/build-docs.yml
index 90f198262b3..a268fbbf7d4 100644
--- a/scripts/ci/jobs/build-docs.yml
+++ b/scripts/ci/jobs/build-docs.yml
@@ -30,6 +30,7 @@ build docs:
     - NUM_LIZARD_ISSUES=`cat lizard.txt | wc -l`
     - echo "lizard_issues $NUM_LIZARD_ISSUES" >> metrics.txt
     - python /opt/lizard/lizard.py -l cpp -t 8 --html -o Lizard.html
+    - python /opt/lizard/lizard.py -EWordCount -x "./ThirdParty/*" -x "./Tests/*" || true # word-cloud
     # build
     - cd build
     - cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DOGS_USE_CONAN=OFF -DOGS_USE_POETRY=OFF
@@ -65,6 +66,7 @@ build docs:
       - build/cmake-dependencies.svg
       - Lizard.html
       - lizard.txt
+      - codecloud.html
     expire_in: 1 week
     reports:
       metrics: build/metrics.txt
-- 
GitLab