Skip to content

Commit

Permalink
Install the latest guzzle version in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
baileyherbert committed Mar 15, 2024
1 parent 1c7b103 commit b42f11f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
fail-fast: false
matrix:
versions: [
{ phpunit: '5.7.27', php: '5.6', composer: '2.2' },
{ phpunit: '9.5.28', php: '8.2', composer: 'latest' }
{ phpunit: '5.7.27', php: '5.6', composer: '2.2', guzzle: '^6.0' },
{ phpunit: '9.5.28', php: '8.2', composer: 'latest', guzzle: '^7.0' }
]

name: php-${{ matrix.versions.php }}
Expand All @@ -39,6 +39,9 @@ jobs:
- name: Fix permissions
run: sudo chown $(whoami) -R ./vendor

- name: Install latest guzzle
run: composer require guzzlehttp/guzzle:${{ matrix.versions.guzzle }} --with-all-dependencies

- name: Print php versions
run: |
echo "PHP: $(php -v | head -n 1)"
Expand All @@ -53,4 +56,3 @@ jobs:
run: ./vendor/bin/simple-phpunit
env:
SYMFONY_PHPUNIT_VERSION: ${{ matrix.versions.phpunit }}
ENVATO_PERSONAL_TOKEN: ${{ secrets.ENVATO_PERSONAL_TOKEN }}

0 comments on commit b42f11f

Please sign in to comment.