Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,38 @@ jobs:

- name: Execute tests
run: composer test

# orchestra/testbench 9.* (Laravel 11) can only resolve Guzzle 7.
# This job installs the root constraints as published, which selects
# illuminate/http 13.26+ and Guzzle 8.
guzzle-8:
runs-on: ubuntu-latest
name: guzzle-8 - prefer-stable

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none

- name: Setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Install dependencies
run: composer update --prefer-stable --prefer-dist --no-interaction

- name: Assert Guzzle 8 is installed
run: composer show guzzlehttp/guzzle | grep -E '^versions +: \* 8\.'

- name: Execute tests
run: composer test

- name: PHPStan
run: composer phpstan
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"require": {
"php": "^8.3|^8.4|^8.5",
"guzzlehttp/guzzle": "^7.0",
"guzzlehttp/guzzle": "^7.0 || ^8.3",
"illuminate/http": "^11.0|^12.0|^13.2.0"
},
"require-dev": {
Expand Down
Loading