Skip to content

Commit

Permalink
do not specify branch name for clients to test
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Mar 5, 2024
1 parent 42ca4c5 commit 340d4df
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ jobs:
max-parallel: 10
matrix:
batch:
- { suite: "curl", php: '7.4', package: "php-http/curl-client:dev-master laminas/laminas-diactoros" }
- { suite: "Socket", php: '7.4', package: "php-http/socket-client:dev-master php-http/client-common" }
- { suite: "Guzzle5", php: '7.1', package: "php-http/guzzle5-adapter:dev-master" }
- { suite: "Guzzle6", php: '7.4', package: "php-http/guzzle6-adapter:dev-master" }
- { suite: "Guzzle", php: '7.4', package: "guzzlehttp/guzzle:dev-master" }
- { suite: "Guzzle", php: '7.4', package: "guzzlehttp/guzzle:dev-master phpunit/phpunit:^8.5.8" }
- { suite: "Guzzle", php: '7.4', package: "guzzlehttp/guzzle:dev-master phpunit/phpunit:^7.5.20" }
- { suite: "Buzz", php: '7.4', package: "kriswallsmith/buzz:dev-master" }
- { suite: "curl", php: '7.4', package: "php-http/curl-client laminas/laminas-diactoros php-http/message-factory" }
- { suite: "Socket", php: '7.4', package: "php-http/socket-client php-http/client-common php-http/message-factory" }
- { suite: "Guzzle5", php: '7.4', package: "php-http/guzzle5-adapter php-http/message-factory" }
- { suite: "Guzzle6", php: '7.4', package: "php-http/guzzle6-adapter php-http/message-factory" }
- { suite: "Guzzle", php: '7.4', package: "guzzlehttp/guzzle php-http/message-factory" }
- { suite: "Guzzle", php: '8.3', package: "guzzlehttp/guzzle php-http/message-factory" }
- { suite: "Guzzle", php: '7.4', package: "guzzlehttp/guzzle phpunit/phpunit:^8.5.8 php-http/message-factory" }
- { suite: "Guzzle", php: '7.4', package: "guzzlehttp/guzzle phpunit/phpunit:^7.5.20 php-http/message-factory" }
- { suite: "Buzz", php: '7.4', package: "kriswallsmith/buzz psr/log php-http/message-factory" }
- { suite: "Buzz", php: '8.3', package: "kriswallsmith/buzz psr/log php-http/message-factory" }

steps:
- name: Set up PHP
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Via Composer

```bash
$ composer require php-http/client-integration-tests
composer require php-http/client-integration-tests
```


Expand All @@ -26,13 +26,13 @@ This package should not be used on its own. It provides integration tests for HT
Start the HTTP Test server:

```bash
$ vendor/bin/http_test_server
vendor/bin/http_test_server
```

Install an adapter.

```bash
$ composer require php-http/curl-client:dev-master laminas/laminas-diactoros
composer require php-http/curl-client laminas/laminas-diactoros
```

Run the tests.
Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
}
],
"require": {
"php": "^7.1 || ^8.0",
"phpunit/phpunit": "^7.5.20 || ^8.5.8 || ^9.3.11",
"php": "^7.4 || ^8.0",
"phpunit/phpunit": "^9.6.17",
"php-http/message": "^1.0 || ^2.0",
"guzzlehttp/psr7": "^1.7 || ^2.0",
"php-http/message-factory": "^1.0",
"guzzlehttp/psr7": "^1.9 || ^2.0",
"th3n3rd/cartesian-product": "^0.3"
},
"suggest": {
Expand Down

0 comments on commit 340d4df

Please sign in to comment.