From e0ef5ede9829252ee873675400612d9a333c39e9 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 5 Jan 2026 21:30:14 +1100 Subject: [PATCH] Run validate in CLI tests --- tests.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests.sh b/tests.sh index ed31318..126a87b 100755 --- a/tests.sh +++ b/tests.sh @@ -25,11 +25,18 @@ poetry run \ poetry run \ enroll explain "${BUNDLE_DIR}" --format json | jq +# Validate +poetry run \ + enroll validate --fail-on-warnings "${BUNDLE_DIR}" + # Install/remove something, harvest again and diff the harvests DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cowsay - poetry run \ enroll harvest --out "${BUNDLE_DIR}2" +# Validate +poetry run \ + enroll validate --fail-on-warnings "${BUNDLE_DIR}2" +# Diff poetry run \ enroll diff \ --old "${BUNDLE_DIR}" \