diff --git a/entrypoint.sh b/entrypoint.sh index 732afc3..f8f0c81 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -7,5 +7,5 @@ idf.py build cd build esptool.py --chip esp32 merge_bin --fill-flash-size 4MB -o flash_image.bin @flash_args /opt/qemu/bin/qemu-system-xtensa -nographic -no-reboot -machine esp32 -drive file=flash_image.bin,if=mtd,format=raw -serial file:output.log -ruby /opt/Unity-2.5.2/auto/parse_output.rb -xml output.log -mv report.xml /github/workspace \ No newline at end of file +grep -q -E '[[:digit:]]+ Tests [[:digit:]]+ Failures [[:digit:]]+ Ignored' output.log && ruby /opt/Unity-2.5.2/auto/parse_output.rb -xml output.log || exit 1 +mv report.xml /github/workspace