Skip to content

Commit

Permalink
Output information in conformity check CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Erin van der Veen committed Jan 17, 2024
1 parent 0e89fb1 commit 4cd6e52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/verify_conformity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4cd6e52

Please sign in to comment.