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

Run unit tests with PHP 8.3 and 8.4 on CI #229

Merged
merged 2 commits into from
Oct 22, 2024
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
26 changes: 14 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Use PHP 8.2
- name: Use PHP 8.3
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
extensions: yaml, zip, curl
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -37,10 +37,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Use PHP 8.2
- name: Use PHP 8.3
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
extensions: yaml, zip, curl
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -70,10 +70,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Use PHP 8.2
- name: Use PHP 8.3
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
extensions: yaml, zip, curl, pcov
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -107,6 +107,8 @@ jobs:
- '8.0'
- '8.1'
- '8.2'
- '8.3'
- '8.4'
os:
- ubuntu-latest
- macos-latest
Expand Down Expand Up @@ -153,10 +155,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Use PHP 8.2
- name: Use PHP 8.3
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
extensions: yaml, zip, curl
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -212,10 +214,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Use PHP 8.2
- name: Use PHP 8.3
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
extensions: yaml, zip, curl
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -260,10 +262,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Use PHP 8.2
- name: Use PHP 8.3
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
extensions: yaml, zip, curl
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_unreleased.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Checkout PHP Client
uses: actions/checkout@v2

- name: Use PHP 8.2
- name: Use PHP 8.3
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
extensions: yaml, zip, curl
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use PHP 8.2
- name: Use PHP 8.3
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Generate endpoints from OpenSearch API Specification ([#194](https://github.com/opensearch-project/opensearch-php/pull/194))
- Added workflow for automated API update using OpenSearch API specification ([#209](https://github.com/opensearch-project/opensearch-php/pull/209))
- Added samples ([#218](https://github.com/opensearch-project/opensearch-php/pull/218))
- Added support for PHP 8.3 and 8.4 ([#229](https://github.com/opensearch-project/opensearch-php/pull/229))
### Changed
- Increased min version of `ezimuel/ringphp` to `^1.2.2`
### Deprecated
### Removed
### Fixed
- Fixed upcomming PHP 8.4 deprecations
- Fixed PHP 8.4 deprecations
### Updated APIs
- Updated opensearch-php APIs to reflect [opensearch-api-specification@cb320b5](https://github.com/opensearch-project/opensearch-api-specification/commit/cb320b5482551c4f28afa26ff0d1653332699722)
### Security
Expand Down
Loading