Skip to content

Commit

Permalink
[INFR] Updated workflows to use new PDFBuilder-Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
HorstOeko committed Dec 29, 2024
1 parent 84c8dbf commit fb5330f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,14 @@ jobs:
echo "Creating test PDF (1)"
php -f examples/02_ZugferdDocumentPdfBuilder_EN16931.php
echo "Running PDF validation"
VERAPDFRESULT=$($VERAPDFPATH/verapdf --format text --flavour 3b examples/02_ZugferdDocumentPdfBuilder_PrintLayout_Merged.pdf)
VERAPDFRESULT=$($VERAPDFPATH/verapdf --format text --flavour 3b --loglevel 0 examples/02_ZugferdDocumentPdfBuilder_PrintLayout_Merged.pdf)
echo "Result of validation"
echo $VERAPDFRESULT
[[ $VERAPDFRESULT == PASS* ]] && echo "PDF validation passed" || { echo "Error: PDF validation not passed" >&2; exit 1; }
echo "Creating test PDF (2)"
php -f examples/02_ZugferdDocumentPdfBuilder_XRECHNUNG.php
echo "Running PDF validation"
VERAPDFRESULT=$($VERAPDFPATH/verapdf --format text --flavour 3b examples/02_ZugferdDocumentPdfBuilder_PrintLayout_Merged.pdf)
VERAPDFRESULT=$($VERAPDFPATH/verapdf --format text --flavour 3b --loglevel 0 examples/02_ZugferdDocumentPdfBuilder_PrintLayout_Merged.pdf)
echo "Result of validation"
echo $VERAPDFRESULT
[[ $VERAPDFRESULT == PASS* ]] && echo "PDF validation passed" || { echo "Error: PDF validation not passed" >&2; exit 1; }
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,14 @@ jobs:
echo "Creating test PDF (1)"
php -f examples/02_ZugferdDocumentPdfBuilder_EN16931.php
echo "Running PDF validation"
VERAPDFRESULT=$($VERAPDFPATH/verapdf --format text --flavour 3b examples/02_ZugferdDocumentPdfBuilder_PrintLayout_Merged.pdf)
VERAPDFRESULT=$($VERAPDFPATH/verapdf --format text --flavour 3b --loglevel 0 examples/02_ZugferdDocumentPdfBuilder_PrintLayout_Merged.pdf)
echo "Result of validation"
echo $VERAPDFRESULT
[[ $VERAPDFRESULT == PASS* ]] && echo "PDF validation passed" || { echo "Error: PDF validation not passed" >&2; exit 1; }
echo "Creating test PDF (2)"
php -f examples/02_ZugferdDocumentPdfBuilder_XRECHNUNG.php
echo "Running PDF validation"
VERAPDFRESULT=$($VERAPDFPATH/verapdf --format text --flavour 3b examples/02_ZugferdDocumentPdfBuilder_PrintLayout_Merged.pdf)
VERAPDFRESULT=$($VERAPDFPATH/verapdf --format text --flavour 3b --loglevel 0 examples/02_ZugferdDocumentPdfBuilder_PrintLayout_Merged.pdf)
echo "Result of validation"
echo $VERAPDFRESULT
[[ $VERAPDFRESULT == PASS* ]] && echo "PDF validation passed" || { echo "Error: PDF validation not passed" >&2; exit 1; }
Expand Down

0 comments on commit fb5330f

Please sign in to comment.