Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the CI setup #177

Merged
merged 1 commit into from
Nov 29, 2023
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
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Check composer.json
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
coverage: none
Expand All @@ -25,7 +25,7 @@ jobs:
name: Static analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
coverage: none
Expand All @@ -36,32 +36,32 @@ jobs:

tests:
name: Tests on PHP ${{ matrix.php }} with ${{ matrix.implementation }}${{ matrix.name_suffix }}
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
minimum_stability: [ 'stable' ]
name_suffix: [ '' ]
implementation: [ 'http_kernel' ]
include:
- php: '8.0'
- php: '8.2'
minimum_stability: dev
implementation: 'http_kernel'
name_suffix: ' and dev deps'
- php: '7.4'
- php: '8.2'
implementation: http_client
- php: '8.2'
minimum_stability: dev
implementation: 'http_kernel'
implementation: 'http_client'
name_suffix: ' and dev deps'
- php: '8.0'
implementation: http_client
fail-fast: false

env:
MATRIX_PHP: ${{ matrix.php }}

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

Expand Down