Skip to content

Commit 8ecb001

Browse files
authored
Update the test matrix (#60)
1 parent c4148a5 commit 8ecb001

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,11 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
php-version: ['8.1', '8.2', '8.3', '8.4' ]
17+
php-version: ['8.1', '8.2', '8.3', '8.4']
1818
dependency-version: [ prefer-stable ]
1919
include:
20-
# PHP 8.1 and prefer-lowest result in doctrine/persistence 2.x being used
2120
- { php-version: '8.1', dependency-version: prefer-lowest }
22-
2321
name: PHP ${{ matrix.php-version }} - ${{ matrix.dependency-version }}
24-
2522
steps:
2623
- uses: actions/checkout@v4
2724
- name: Install PHP
@@ -30,8 +27,6 @@ jobs:
3027
php-version: ${{ matrix.php-version }}
3128
coverage: none
3229
- name: Install dependencies
33-
run: composer update --no-interaction --prefer-dist --${{ matrix.dependency-version}} --no-progress --no-suggest
34-
- name: Allow self-deprecation notices when testing against ORM 2.0
35-
run: composer show | egrep -q 'doctrine/orm\s+2' && echo "SYMFONY_DEPRECATIONS_HELPER=max[self]=9999" >> "$GITHUB_ENV" || true
30+
run: composer update --no-interaction --no-progress --no-suggest --no-scripts --ansi --${{ matrix.dependency-version}}
3631
- name: Run test suite
3732
run: vendor/bin/phpunit

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"require-dev": {
3030
"doctrine/collections": "^1.6.8|^2.2.1",
31-
"phpunit/phpunit": "^10.5",
31+
"phpunit/phpunit": "^10.5.58",
3232
"symfony/error-handler": "^5.4|^6.0|^7.0"
3333
},
3434
"autoload": {

0 commit comments

Comments
 (0)