File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,12 +13,19 @@ jobs:
1313
1414 runs-on : ubuntu-latest
1515
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ php-versions : ["7.4", "8.3", "8.4", "8.5"]
20+ phpunit-versions : ["latest"]
21+
1622 steps :
1723 - uses : actions/checkout@v4
1824
1925 - name : Validate composer.json and composer.lock
2026 uses : php-actions/composer@v6
2127 with :
28+ php_version : ${{ matrix.php-versions }}
2229 command : validate --strict
2330
2431 - name : Cache Composer packages
3340 - name : Install dependencies
3441 uses : php-actions/composer@v6
3542 with :
43+ php_version : ${{ matrix.php-versions }}
3644 args : --prefer-dist --no-progress
3745
3846 # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
4149 - name : Run test suite
4250 uses : php-actions/phpunit@v4
4351 with :
52+ php_version : ${{ matrix.php-versions }}
4453 php_extensions : gd
You can’t perform that action at this time.
0 commit comments