summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/php-code-quality.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/php-code-quality.yml b/.github/workflows/php-code-quality.yml
index 6be750081..b640d2c7b 100644
--- a/.github/workflows/php-code-quality.yml
+++ b/.github/workflows/php-code-quality.yml
@@ -35,7 +35,7 @@ jobs:
php-version: '8.4'
coverage: none
# PHPUnit is installed to support PHPStan checking tests/
- tools: phpstan/phpstan:2.1.31, phpunit/phpunit:9.6.29
+ tools: phpstan/phpstan:^2.1, phpunit/phpunit:^12.4
# https://phpstan.org/user-guide/result-cache
- name: Restore result cache
@@ -65,7 +65,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- php: ['8.2', '8.3', '8.4']
+ php: ['8.3', '8.4']
experimental: [false]
include:
- php: '8.5'
@@ -78,9 +78,10 @@ jobs:
- name: Set up PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
+ # Check https://phpunit.de/supported-versions.html for PHP version compatibility
php-version: ${{ matrix.php }}
coverage: none
- tools: phpunit/phpunit:9.6.29
+ tools: phpunit/phpunit:^12.4
- name: Run PHPUnit
- run: phpunit --exclude integration --coverage-filter classes --coverage-filter include
+ run: phpunit --exclude-group integration --coverage-filter classes --coverage-filter include