From 4cd6e52aeea86527cdb64b308e25881b9f6f6959 Mon Sep 17 00:00:00 2001 From: Erin van der Veen Date: Wed, 17 Jan 2024 11:51:18 +0100 Subject: [PATCH] Output information in conformity check CI --- .github/workflows/verify_conformity.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/verify_conformity.yml b/.github/workflows/verify_conformity.yml index 268daf2..dc1f0da 100644 --- a/.github/workflows/verify_conformity.yml +++ b/.github/workflows/verify_conformity.yml @@ -12,7 +12,9 @@ jobs: - name: Verifying output files run: | for f in ./genealogos/tests/fixtures/nixtract/success/*.out; do + echo "$f" OUT=$(nix run .#cyclonedx --extra-experimental-features 'nix-command flakes' -- validate --input-format json --input-version v1_5 --input-file "$f") + echo "$OUT" # Fail if the cyclonedx tool did not output a message containing "successfully" [[ "$OUT" =~ .*successfully.* ]] || exit 1 done || exit 1