Skip to content

Commit

Permalink
update run-tests.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ynaka81 authored and aloisklink committed Jan 20, 2025
1 parent 40d24c6 commit 8a45bb3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ for format in "svg" "png"; do
-o "$outputFileName"
done

# Test if passing custom Iconify icons work
outputFileName="/data/$INPUT_DATA/architecture-diagram-logos-with-icons.png"
docker run --rm -v $(pwd):/data $IMAGETAG \
-i /data/$INPUT_DATA/architecture-diagram-logos.mmd \
--iconPacks '@iconify-json/logos' \
-o "$outputFileName"

# Test if a diagram from STDIN can be understood
cat $INPUT_DATA/flowchart1.mmd | docker run --rm -i -v $(pwd):/data $IMAGETAG -o /data/$INPUT_DATA/flowchart1-stdin.png -w 800

Expand Down

0 comments on commit 8a45bb3

Please sign in to comment.