Skip to content

Commit 55bc4dc

Browse files
committed
fix(ci): detect and print detector placement errors first
1 parent 28445c9 commit 55bc4dc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/linux-eic-shell.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,11 @@ jobs:
155155
network_types: "none"
156156
setup: install/bin/thisepic.sh
157157
run: |
158-
geoPluginRun -input ${DETECTOR_PATH}/${{matrix.detector_config}}.xml -plugin DD4hepDetectorChecksum
158+
if ! geoPluginRun -print ERROR -input ${DETECTOR_PATH}/${DETECTOR_CONFIG}.xml -plugin DD4hep_DetectorDump -level 0 | grep ERROR ; then
159+
geoPluginRun -print ERROR -input ${DETECTOR_PATH}/${{matrix.detector_config}}.xml -plugin DD4hepDetectorChecksum
160+
else
161+
exit 1
162+
fi
159163
160164
validate-material-map:
161165
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)