Skip to content

Commit e6fa4ab

Browse files
committed
Install ImageMagic
1 parent e2b8d93 commit e6fa4ab

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/reusable-phpunit-tests-v4.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ on:
7272
required: false
7373
type: boolean
7474
default: false
75+
install-imagemagick:
76+
description: 'Whether to install ImageMagick.'
77+
required: false
78+
type: boolean
79+
default: true
7580
secrets:
7681
CODECOV_TOKEN:
7782
description: 'The Codecov token required for uploading reports.'
@@ -131,6 +136,10 @@ jobs:
131136
${{ inputs.db-type == 'mysql' && contains( fromJSON('["7.2", "7.3"]'), inputs.php ) && inputs.db-version != '8.4' && '--default-authentication-plugin=mysql_native_password' || '' }}
132137
133138
steps:
139+
- name: Install ImageMagick
140+
if: ${{ inputs.install-imagemagick }}
141+
run: sudo apt-get update && sudo apt-get install -y imagemagick
142+
134143
- name: Log PHP debugging information
135144
run: php -i
136145

0 commit comments

Comments
 (0)