From d598c1c280b9813ded15c633ddea315624cff8f0 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sat, 17 Oct 2020 13:01:28 +0100 Subject: [PATCH] Install and use ImageMagick --- .github/workflows/run-tests.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9f52701e..8a536af3 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,7 +6,7 @@ on: jobs: phpunit: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 name: PHPUnit test suite @@ -29,6 +29,14 @@ jobs: key: ${{ runner.os }}-${{ hashFiles('**/package.json') }} - name: Install npm dependencies run: npm install + - name: Install ImageMagick + run: apt install imagemagick + - name: Setup PHP with pecl extension + uses: shivammathur/setup-php@v2 + with: + php-version: '7.4' + tools: pecl + extensions: imagick - name: Copy .env run: php -r "file_exists('.env') || copy('.env.github', '.env');" - name: Install dependencies