Skip to content

Commit b158393

Browse files
committed
Fix tests for PHP 7.3+ and add experimental test for PHP 8.1
1 parent 2e12644 commit b158393

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/php-qa.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
prefer: "highest"
2020
ignore-platform: "--ignore-platform-reqs"
2121
experimental: true
22+
- php: "8.1"
23+
prefer: "highest"
24+
ignore-platform: "--ignore-platform-reqs"
25+
experimental: true
2226

2327
continue-on-error: ${{ matrix.experimental }}
2428

@@ -42,12 +46,11 @@ jobs:
4246
dependency-versions: ${{ matrix.prefer }}
4347
composer-options: ${{ matrix.ignore-platform }}
4448

45-
- name: Run unit tests (PHPUnit 9)
49+
- name: Migrate PHPUnit config for PHPUnit 9
4650
if: ${{ (matrix.php >= 7.3) && (matrix.prefer == 'highest') }}
4751
run: ./vendor/bin/phpunit --migrate-configuration
4852

49-
- name: Run unit tests (PHPUnit 7)
50-
if: ${{ (matrix.php < 7.3) || ((matrix.php == 7.3) && (matrix.prefer == 'lowest')) }}
53+
- name: Run unit tests
5154
run: ./vendor/bin/phpunit
5255

5356
Static_Analisys:

0 commit comments

Comments
 (0)