Skip to content

Commit b99459e

Browse files
committed
build: update PHP setup and testing workflow in tests.yml
1 parent 6da1104 commit b99459e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ jobs:
2525
- name: Setup PHP
2626
uses: shivammathur/setup-php@v2
2727
with:
28-
php-version: ${{ matrix.php }}
29-
extensions: libxml, simplexml
30-
tools: composer:${{ matrix.composer_version }}
28+
php-version: ${{ matrix.php-version }}
29+
tools: composer:v2
30+
coverage: none
3131

3232
- name: Install Composer dependencies
33-
run: composer update --no-interaction --no-progress --no-suggest --with=symfony/config:${{ matrix.symfony_constraint }}
33+
uses: ramsey/composer-install@v3
34+
with:
35+
dependency-versions: ${{ matrix.dependencies }}
3436

3537
- name: Run PHPUnit tests
3638
run: composer test

0 commit comments

Comments
 (0)