Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
e1877c06 by Cédric Krier at 2023-01-15T11:42:01+01:00
Add check if RNG files are up to date
- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -228,6 +228,21 @@
   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:



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/e1877c06971b8e2a728fa8b1c182c8a8dddd6af3

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/e1877c06971b8e2a728fa8b1c182c8a8dddd6af3
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to