From 1a0f3133bb9eff903784c31240d24eac0a905383 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 27 Oct 2025 22:29:35 +0000 Subject: [PATCH] feat: add support for webp in imagick --- .github/workflows/test.yml | 3 ++- Dockerfile | 1 + tests.yaml | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3712ce8..8d604c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,4 +23,5 @@ jobs: - name: Run container structure test run: | docker build -t appwrite-base-test . - container-structure-test test --image appwrite-base-test --config tests.yaml + docker build -f Dockerfile.test -t appwrite-base-test-with-tests . + container-structure-test test --image appwrite-base-test-with-tests --config tests.yaml diff --git a/Dockerfile b/Dockerfile index d413e47..8245eff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -194,6 +194,7 @@ RUN \ libjxl-dev \ libavif \ libheif \ + libwebp \ imagemagick-heic \ zlib-dev \ libpng-dev \ diff --git a/tests.yaml b/tests.yaml index 4652dfb..c2cf7fa 100644 --- a/tests.yaml +++ b/tests.yaml @@ -19,7 +19,7 @@ commandTests: expectedOutput: ["Docker version 28.*"] - name: 'PHP info' command: "php" - args: ["-m"] + args: ["-i"] expectedOutput: - brotli - Core @@ -33,6 +33,7 @@ commandTests: - hash - iconv - imagick + - WEBP - intl - json - libxml