Install and use ImageMagick
This commit is contained in:
parent
70cd4b2ea3
commit
d598c1c280
1 changed files with 9 additions and 1 deletions
10
.github/workflows/run-tests.yml
vendored
10
.github/workflows/run-tests.yml
vendored
|
@ -6,7 +6,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
phpunit:
|
phpunit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
name: PHPUnit test suite
|
name: PHPUnit test suite
|
||||||
|
|
||||||
|
@ -29,6 +29,14 @@ jobs:
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}
|
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}
|
||||||
- name: Install npm dependencies
|
- name: Install npm dependencies
|
||||||
run: npm install
|
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
|
- name: Copy .env
|
||||||
run: php -r "file_exists('.env') || copy('.env.github', '.env');"
|
run: php -r "file_exists('.env') || copy('.env.github', '.env');"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue