Skip to content
Merged
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
19 changes: 10 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ jobs:
name: Check composer.json
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: '8.2'
php-version: '8.4'
- run: composer validate --strict --no-check-lock

static_analysis:
name: Static analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: '8.2'
php-version: '8.4'
- name: Install dependencies
run: composer update --ansi --no-progress --prefer-dist --no-interaction
- run: vendor/bin/phpstan analyze
Expand All @@ -39,18 +39,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ]
minimum_stability: [ 'stable' ]
name_suffix: [ '' ]
implementation: [ 'http_kernel' ]
include:
- php: '8.2'
- php: '8.4'
minimum_stability: dev
implementation: 'http_kernel'
name_suffix: ' and dev deps'
- php: '8.2'
- php: '8.4'
implementation: http_client
- php: '8.2'
- php: '8.4'
minimum_stability: dev
implementation: 'http_client'
name_suffix: ' and dev deps'
Expand All @@ -61,7 +61,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 2

Expand All @@ -71,6 +71,7 @@ jobs:
coverage: "xdebug"
php-version: "${{ matrix.php }}"
tools: composer
ini-file: 'development'

- name: Configure for minimum stability
if: "${{ matrix.minimum_stability == 'dev' }}"
Expand Down