Add diff of screenshots to test suite, works good

This commit is contained in:
sickcodes
2021-11-14 18:35:09 +00:00
parent b820ec4ef2
commit 9ca9372da1
2 changed files with 71 additions and 1 deletions

View File

@ -12,7 +12,7 @@
# Repository: https://github.com/sickcodes/Docker-OSX
# Website: https://sick.codes
#
# Status: Work in progress.
# Status: Used internally to auto build, run and test images on DO.
#
help_text="Usage: ./test.sh --branch <string> --repo <string>
@ -303,6 +303,9 @@ for TEST_BUILD in "${TEST_BUILDS[@]}"; do
"${TEST_BUILD}"
done
# boot each image and test
bash ./tests/boot-images.sh || exit 1
if [[ "${DOCKER_USERNAME}" ]] && [[ "${DOCKER_PASSWORD}" ]]; then
docker login --username "${DOCKER_USERNAME}" --password "${DOCKER_PASSWORD}" \
&& for SHORTNAME in "${VERSION_BUILDS[@]}"; do