From 7dd21444bb48ef05b389a27612554f29e6507939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 15 Jan 2023 11:42:01 +0100 Subject: [PATCH] Add check if RNG files are up to date --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3de9b99f16..05bf343328 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -228,6 +228,21 @@ check-doc-trytond: variables: PACKAGE: trytond +check-trytond-rng: + extends: .check + before_script: + - pip install rnc2rng + script: + - python trytond/setup.py update_rng + - | + if [ `hg status | wc -l` -ne 0 ]; then + false + fi + rules: + - changes: + - trytond/**/*.rnc + - trytond/**/*.rng + trigger-doc-build-trytond: extends: .trigger-doc-build variables: