From 2db1f7f7fda4a43724f9e4e8f76f0dce01855bf4 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Thu, 25 Aug 2022 22:57:17 -0500 Subject: [PATCH] ci: use recursive xmllint (#80) There are some ill-formed xml files that are not caught in the `compact/` tree. That is because we are currently only checking `compact/*.xml` and files are at a deeper level. --- .github/workflows/linux-eic-shell.yml | 4 ++-- compact/unused/tracking_config_mgpds.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux-eic-shell.yml b/.github/workflows/linux-eic-shell.yml index b70f59a18..d8a000ec1 100644 --- a/.github/workflows/linux-eic-shell.yml +++ b/.github/workflows/linux-eic-shell.yml @@ -21,7 +21,7 @@ jobs: - run: | sudo apt-get update sudo apt-get install -y libxml2-utils - xmllint compact/*.xml > /dev/null + find compact/ -name "*.xml" -exec xmllint {} \; > /dev/null build-test: runs-on: ubuntu-latest @@ -73,7 +73,7 @@ jobs: - run: | sudo apt-get update sudo apt-get install -y libxml2-utils - xmllint install/share/ecce/*.xml > /dev/null + find install/share -name "*.xml" -exec xmllint {} \; > /dev/null convert-to-gdml: runs-on: ubuntu-latest diff --git a/compact/unused/tracking_config_mgpds.xml b/compact/unused/tracking_config_mgpds.xml index 45a85c7ea..a7128e97f 100644 --- a/compact/unused/tracking_config_mgpds.xml +++ b/compact/unused/tracking_config_mgpds.xml @@ -11,7 +11,7 @@ This configuration needs attention! - +