Skip to content

Commit 2661169

Browse files
committed
Add tests for PHP 8.4
1 parent d6333d7 commit 2661169

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -32,35 +32,11 @@ jobs:
3232
- "ubuntu-20.04"
3333
php-version:
3434
- "7.4"
35-
- "8.0"
36-
- "8.1"
37-
- "8.2"
38-
- "8.3"
35+
- "8.4"
3936
mongodb-version:
4037
- "4.4"
4138
topology:
4239
- "server"
43-
include:
44-
- os: "ubuntu-20.04"
45-
php-version: "8.0"
46-
mongodb-version: "6.0"
47-
topology: "replica_set"
48-
- os: "ubuntu-20.04"
49-
php-version: "8.0"
50-
mongodb-version: "6.0"
51-
topology: "sharded_cluster"
52-
- os: "ubuntu-20.04"
53-
php-version: "8.0"
54-
mongodb-version: "5.0"
55-
topology: "server"
56-
- os: "ubuntu-20.04"
57-
php-version: "8.0"
58-
mongodb-version: "4.4"
59-
topology: "replica_set"
60-
- os: "ubuntu-20.04"
61-
php-version: "8.0"
62-
mongodb-version: "4.4"
63-
topology: "sharded_cluster"
6440

6541
steps:
6642
- name: "Checkout"
@@ -104,7 +80,7 @@ jobs:
10480
- name: "Install dependencies with Composer"
10581
uses: "ramsey/[email protected]"
10682
with:
107-
composer-options: "--no-suggest"
83+
composer-options: "--no-suggest ${{ matrix.php-version == '8.4' && '--ignore-platform-req=php+' || '' }}"
10884

10985
- name: "Run PHPUnit"
11086
run: "vendor/bin/simple-phpunit -v"

0 commit comments

Comments
 (0)