Skip to content

Commit

Permalink
Update CI to run with PHP 8.4 (#696)
Browse files Browse the repository at this point in the history
Co-authored-by: Clémentine <[email protected]>
  • Loading branch information
norkunas and curquiza authored Dec 4, 2024
1 parent ef17699 commit a1a414e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/meilisearch-beta-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
MEILI_NO_ANALYTICS: true
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3']
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
http-client: ['Guzzle-7', 'Guzzle-7-Adapter', 'Symfony-HttpClient', 'PHP-HTTP-CurlClient', 'Kriswallsmith-Buzz']
exclude:
- php-version: '7.4'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
MEILI_NO_ANALYTICS: true
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3']
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
http-client: ['Guzzle-7', 'Guzzle-7-Adapter', 'Symfony-HttpClient', 'PHP-HTTP-CurlClient', 'Kriswallsmith-Buzz']
exclude:
- php-version: '7.4'
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@ jobs:
lint:
runs-on: ubuntu-latest
name: linter-check
env:
PHP_CS_FIXER_IGNORE_ENV: 1
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4
coverage: none

- name: Install dependencies
Expand All @@ -52,7 +54,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.4
coverage: none

- name: Install dependencies
Expand All @@ -77,7 +79,7 @@ jobs:
MEILI_NO_ANALYTICS: true
strategy:
matrix:
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3']
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
http-client: ['Guzzle-7', 'Guzzle-7-Adapter', 'Symfony-HttpClient', 'PHP-HTTP-CurlClient', 'Kriswallsmith-Buzz']
exclude:
- php-version: '7.4'
Expand Down
6 changes: 6 additions & 0 deletions bors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ status = [
'integration-tests (PHP 8.3) (Symfony-HttpClient)',
'integration-tests (PHP 8.3) (PHP-HTTP-CurlClient)',
'integration-tests (PHP 8.3) (Kriswallsmith-Buzz)',

'integration-tests (PHP 8.4) (Guzzle-7)',
'integration-tests (PHP 8.4) (Guzzle-7-Adapter)',
'integration-tests (PHP 8.4) (Symfony-HttpClient)',
'integration-tests (PHP 8.4) (PHP-HTTP-CurlClient)',
'integration-tests (PHP 8.4) (Kriswallsmith-Buzz)',
]
# 1 hour timeout
timeout-sec = 3600

0 comments on commit a1a414e

Please sign in to comment.