Skip to content

Commit 04143ea

Browse files
authored
ci: fix isolated testing
1 parent bead5a5 commit 04143ea

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/isolated-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,11 @@ jobs:
5656
with:
5757
php-version: ${{ matrix.php }}
5858
extensions: dom, curl, libxml, mbstring, pcntl, fileinfo
59-
tools: phpunit
6059
coverage: pcov
6160

61+
- name: Install PHPUnit
62+
run: composer global require phpunit/phpunit:^11.5.17
63+
6264
- name: Setup problem matchers
6365
run: |
6466
echo "::add-matcher::${{ runner.tool_cache }}/php.json"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"phpat/phpat": "^0.11.0",
5050
"phpbench/phpbench": "84.x-dev",
5151
"phpstan/phpstan": "^2.0",
52-
"phpunit/phpunit": "^11.3.5",
52+
"phpunit/phpunit": "^11.5.17",
5353
"rector/rector": "^2.0-rc2",
5454
"spatie/phpunit-snapshot-assertions": "^5.1.6",
5555
"spaze/phpstan-disallowed-calls": "^4.0",

src/Tempest/Generation/composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
}
2222
},
2323
"require-dev": {
24-
"spatie/phpunit-snapshot-assertions": "^5.1.6"
24+
"spatie/phpunit-snapshot-assertions": "^5.1.8",
25+
"phpunit/phpunit": "^11.5.17"
2526
}
2627
}

src/Tempest/HttpClient/composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"require-dev": {
1818
"aidan-casey/mock-client": "dev-master",
19-
"guzzlehttp/psr7": "^2.6.1"
19+
"guzzlehttp/psr7": "^2.6.1",
20+
"phpunit/phpunit": "^11.5.17"
2021
},
2122
"autoload": {
2223
"psr-4": {

0 commit comments

Comments
 (0)