From b3d898c67d30de9407f1916541211decedd9d921 Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Mon, 3 Feb 2025 01:56:40 +0100 Subject: [PATCH] test all version --- .github/workflows/phpcs.yml | 8 ++++++-- .github/workflows/phpunit.yml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index 669c4276c7c..5e996fe9548 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -8,13 +8,17 @@ on: jobs: phpcs: name: Validation - runs-on: [ubuntu-latest] + runs-on: ${{ matrix.operating-system }} + strategy: + matrix: + operating-system: [ubuntu-latest] + php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] steps: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 7.4 + php-version: ${{ matrix.php-version }} - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 04c6eaa23b3..d1f39e3b7c0 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ['7.4', '8.3'] + php-versions: ['7.4', '8.4'] mysql-version: ['5.7', '8.0'] services: