Skip to content

Commit a871c21

Browse files
committed
fix
1 parent 771cd0d commit a871c21

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

.github/workflows/coverage.yml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,32 @@ jobs:
1414
name: pest
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Setup ffmpeg
21+
uses: AnimMouse/setup-ffmpeg@v1
22+
23+
- run: "ffmpeg -version"
24+
25+
- name: Upgrade ghostscript
26+
run: |
27+
sudo apt-get update
28+
sudo apt-get install ghostscript
29+
30+
- name: Upgrade ImageMagick
31+
run: |
32+
sudo apt-get update
33+
sudo apt-get install imagemagick
34+
35+
- name: Fix Imagick Policy
36+
run: sudo sed -i 's/none/read|write/g' /etc/ImageMagick-6/policy.xml
1837

1938
- name: Setup PHP
2039
uses: shivammathur/setup-php@v2
2140
with:
22-
php-version: "8.4"
23-
extensions: mbstring, xdebug
41+
php-version: ${{ matrix.php }}
42+
extensions: xdebug, dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
2443
coverage: xdebug
2544

2645
- name: Install composer dependencies

0 commit comments

Comments
 (0)