[wp-trac] [WordPress Trac] #63355: Image tests skipped in GitHub Actions

WordPress Trac noreply at wordpress.org
Wed Sep 17 02:48:29 UTC 2025


#63355: Image tests skipped in GitHub Actions
------------------------------+-----------------------
 Reporter:  MattyRob          |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  6.9
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  tests
------------------------------+-----------------------
Changes (by desrosj):

 * keywords:   => has-patch
 * version:  trunk =>


Comment:

 Thanks @MattyRob!

 It looks like these are the only remaining skipped tests related to
 AVIF/HEIC today.

 {{{
 6) Test_Image_Resize_GD::test_resize_heic
 No HEIC support in the editor engine on this system.
 }}}

 GD does not yet have support for the HEIC format, so this one can't be
 fixed at this time. [https://github.com/php/php-
 src/commit/7d5c8dad3bd64150977c681cfb94d98db74bf1ff Support for reading
 the Exif data from an HEIF file seems to be slated for PHP 8.5], but the
 [https://github.com/php/php-src/pull/14504 pull request that adds support
 for manipulating these files is still in draft].

 {{{
 14)
 WP_Test_REST_Attachments_Controller::test_upload_unsupported_image_type
 The image editor suppports AVIF.

 /var/www/tests/phpunit/tests/rest-api/rest-attachments-controller.php:2579
 /var/www/vendor/bin/phpunit:122

 15)
 WP_Test_REST_Attachments_Controller::test_upload_unsupported_image_type_with_filter
 The image editor suppports AVIF.

 }}}

 These two will be handled by #63967.

 {{{
 5) Test_Image_Resize_GD::test_resize_avif
 No AVIF support in the editor engine WP_Image_Editor_GD on this system.

 /var/www/tests/phpunit/tests/image/resize.php:104
 /var/www/vendor/bin/phpunit:122
 }}}

 This last one should be resolved by the attached pull request, which tests
 an upstream pull request that adds AVIF support to GD. The attached pull
 request is testing an update to the Docker images maintained on GitHub.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63355#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list