From 97af078ddfb40c2b55c7373f28ac443e39090253 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wouter.deconinck@umanitoba.ca> Date: Wed, 28 Jul 2021 22:18:07 +0000 Subject: [PATCH] CI test for ce_ecal_placement --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ddfe731..982d3bc4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -105,6 +105,16 @@ include: - local: 'views/view14.yml' - local: 'views/view15.yml' +ce_ecal_placement: + stage: test + needs: + - common:detector + script: + - python scripts/ce_ecal_placement.py --save ce_ecal_crystal_glass.xml + - mv ce_ecal_placement.png doc/ce_ecal_placement.png + - if ! diff ce_ecal_crystal_glass.xml compact/ce_ecal_crystal_glass.xml ; then echo "ce_ecal_crystal_glaxs.xml not reproducible" && false ; fi + - echo "EndcapN layout at https://eicweb.phy.anl.gov/EIC/detectors/athena/-/jobs/${CI_JOB_ID}/artifacts/raw/doc/ce_ecal_placement.png" + dump_geometry: stage: test needs: @@ -150,6 +160,7 @@ report: - dump_constants - dump_geometry - convert_to_gdml + - ce_ecal_placement script: - pip3 install jinja2 && ls -lrth - ./bin/make_images > doc/dawn_views.md -- GitLab