Skip to content

Commit

Permalink
Update php.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-thomas committed Feb 1, 2025
1 parent 6d64874 commit a42b652
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PHP Composer
name: PHPUnit

on: [push, pull_request]

Expand All @@ -13,10 +13,10 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
php: [ 8.1, 8.2, 8.3 ]
php: [ 8.2, 8.3 ]
dependency-version: [ prefer-stable ]

name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
name: "Tests: PHP ${{ matrix.php }}"

steps:
- uses: actions/checkout@v4
Expand All @@ -30,10 +30,13 @@ jobs:
coverage: xdebug

- name: Install tools
uses: awalsh128/cache-apt-pkgs-action@latest

uses: FedericoCarboni/setup-ffmpeg@v3
with:
packages: ffmpeg jpegoptim pngquant webp
version: 1.0
ffmpeg-version: 'release'

- name: Install jpegoptim
run: sudo apt-get install -y jpegoptim pngquant webp

- name: Validate composer.json and composer.lock
run: composer validate --strict
Expand Down

0 comments on commit a42b652

Please sign in to comment.