CI: Attempt a more robust avif support check

This commit is contained in:
Dan Brown
2026-04-27 13:17:58 +01:00
parent 0f59981932
commit cc6e9e0546

View File

@@ -75,7 +75,7 @@ class ImageTest extends TestCase
public function test_image_display_thumbnail_generation_for_animated_avif_images_uses_original_file()
{
if (! function_exists('imageavif')) {
if ((gd_info()['AVIF Support'] ?? false) !== true) {
$this->markTestSkipped('imageavif() is not available');
}