Add check if RNG files are up to date

This commit is contained in:
Cédric Krier
2023-01-15 11:42:01 +01:00
parent ea481922c9
commit 7dd21444bb
+15
View File
@@ -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: