File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,7 @@ jobs:
303303 - run :
304304 name : Compare pixels
305305 command : .circleci/test.sh test-image ; find build -maxdepth 1 -type f -delete
306+ - image-diff-message
306307 - store_artifacts :
307308 path : build
308309 destination : /
@@ -317,6 +318,7 @@ jobs:
317318 - run :
318319 name : Compare pixels
319320 command : .circleci/test.sh test-image-virtual-webgl ; find build -maxdepth 1 -type f -delete
321+ - image-diff-message
320322 - store_artifacts :
321323 path : build
322324 destination : /
@@ -331,6 +333,7 @@ jobs:
331333 - run :
332334 name : Compare pixels
333335 command : .circleci/test.sh test-image ; find build -maxdepth 1 -type f -delete
336+ - image-diff-message
334337 - store_artifacts :
335338 path : build
336339 destination : /
@@ -345,6 +348,7 @@ jobs:
345348 - run :
346349 name : Compare pixels of mathjax v3 baselines
347350 command : .circleci/test.sh test-image-mathjax3
351+ - image-diff-message
348352 - store_artifacts :
349353 path : build
350354 destination : /
@@ -515,6 +519,16 @@ jobs:
515519 - store_artifacts :
516520 path : topojson.tar
517521
522+ commands :
523+ image-diff-message :
524+ steps :
525+ - run :
526+ name : IMAGE DIFF DETECTED - SEE NOTE BELOW
527+ when : on_fail
528+ command : |
529+ echo "Image Diff Detected: baselines may need to be updated. Use \"circleci_image_artifact_download.sh\" to download new baselines."
530+ echo "Add the new images to \"test/image/baselines\" and commit them to this pull request."
531+
518532workflows :
519533 version : 2
520534 build-and-test :
You can’t perform that action at this time.
0 commit comments