From 3a3caee3a17d2a206dd23d8c705ce38461eaeb90 Mon Sep 17 00:00:00 2001
From: Andre Maroneze <andre.maroneze@cea.fr>
Date: Wed, 20 Mar 2024 08:59:53 +0100
Subject: [PATCH] check that summary.md is up-to-date via the CI

---
 .gitlab-ci.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 56857c1d2..2895fb752 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,14 @@ default:
 variables:
   GIT_CLEAN_FLAGS: none #each use case cleans its own directory
 
+__update-summary:
+  tags:
+    - docker
+  script:
+    - git config --global --add safe.directory $PWD
+    - ./compute-summary.sh
+    - git diff --exit-code summary.md
+
 .make_job: &make_job
   tags:
     - docker
-- 
GitLab