Skip to content

Commit b9747d5

Browse files
committed
fix test gh
1 parent 4e5c3f0 commit b9747d5

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,29 @@ jobs:
2727
- name: Checkout code
2828
uses: actions/checkout@v4
2929

30+
- name: Setup ffmpeg
31+
uses: AnimMouse/setup-ffmpeg@v1
32+
33+
- name: Upgrade ghostscript
34+
run: |
35+
sudo apt-get update
36+
sudo apt-get install ghostscript
37+
38+
- name: Upgrade ImageMagick
39+
run: |
40+
sudo apt-get update
41+
sudo apt-get install imagemagick
42+
43+
- name: Fix Imagick Policy
44+
run: sudo sed -i 's/none/read|write/g' /etc/ImageMagick-6/policy.xml
45+
3046
- name: Setup PHP
3147
uses: shivammathur/setup-php@v2
3248
with:
3349
php-version: ${{ matrix.php }}
3450
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
3551
coverage: none
3652

37-
- name: Setup ffmpeg
38-
uses: AnimMouse/setup-ffmpeg@v1
39-
40-
- name: Install ImageMagick
41-
run: sudo apt-get install -y imagemagick
42-
4353
- name: Setup problem matchers
4454
run: |
4555
echo "::add-matcher::${{ runner.tool_cache }}/php.json"

0 commit comments

Comments
 (0)