Skip to content

Commit 9e63111

Browse files
committed
Update github actions configuration
- adds PHP 8.4 to test matrix - normalizes configuration based on the Dompdf project
1 parent 4cd2b07 commit 9e63111

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: "Run unit tests"
33
on:
44
- push
55
- pull_request
6+
- workflow_dispatch
67

78
env:
89
COMPOSER_MEMORY_LIMIT: -1
@@ -11,13 +12,16 @@ jobs:
1112
test:
1213
name: "Build"
1314
runs-on: ubuntu-latest
15+
1416
strategy:
1517
max-parallel: 12
1618
matrix:
17-
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', 8.3']
19+
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
20+
package-release: [dist]
21+
1822
steps:
1923
- name: Checkout repository
20-
uses: actions/checkout@v2
24+
uses: actions/checkout@v4
2125

2226
- name: Setup PHP ${{ matrix.php }}
2327
uses: shivammathur/setup-php@v2
@@ -26,7 +30,9 @@ jobs:
2630
extensions: exif,json,mbstring,dom
2731

2832
- name: Install composer dependencies
29-
uses: ramsey/composer-install@v2
33+
uses: ramsey/composer-install@v3
34+
with:
35+
dependency-versions: ${{ matrix.package-release }}
3036

3137
- name: Run unit tests
3238
run: ./vendor/bin/phpunit

0 commit comments

Comments
 (0)