Skip to content

Commit c7d839c

Browse files
committed
Updated test suite
1 parent bbdd35c commit c7d839c

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/test-suite.yaml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,20 @@ jobs:
66
name: Coding Standards
77
runs-on: 'ubuntu-latest'
88

9+
env:
10+
PHP_CS_FIXER_IGNORE_ENV: 1
11+
912
steps:
1013
- name: Checkout Repository
1114
uses: actions/checkout@v4
1215

16+
- name: Setup PHP
17+
uses: shivammathur/setup-php@v2
18+
with:
19+
php-version: '8.4'
20+
1321
- name: Install PHP Dependencies
14-
run: composer update
22+
run: composer install --no-interaction --no-progress --no-scripts --prefer-dist
1523

1624
- name: Verify Coding Standards
1725
run: vendor/bin/php-cs-fixer fix --diff --dry-run
@@ -24,8 +32,13 @@ jobs:
2432
- name: Checkout Repository
2533
uses: actions/checkout@v4
2634

35+
- name: Setup PHP
36+
uses: shivammathur/setup-php@v2
37+
with:
38+
php-version: '8.4'
39+
2740
- name: Install PHP Dependencies
28-
run: composer update
41+
run: composer install --no-interaction --no-progress --no-scripts --prefer-dist
2942

3043
- name: Run Static Analysis
3144
run: vendor/bin/phpstan analyze
@@ -36,7 +49,7 @@ jobs:
3649

3750
strategy:
3851
matrix:
39-
php-versions: ['8.1', '8.2', '8.3']
52+
php-versions: ['8.1', '8.2', '8.3', '8.4']
4053

4154
steps:
4255
- name: Checkout Repository
@@ -49,7 +62,7 @@ jobs:
4962
coverage: xdebug
5063

5164
- name: Install PHP Dependencies
52-
run: composer update
65+
run: composer install --no-interaction --no-progress --no-scripts --prefer-dist
5366

5467
- name: Run Tests
5568
run: vendor/bin/phpunit --coverage-text

0 commit comments

Comments
 (0)