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

Feat/support custom message type #110

Merged
merged 17 commits into from
Nov 20, 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
32 changes: 32 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,38 @@ jobs:
- name: Cancel workflow runs for commit on error
if: failure()
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
acceptance-tests:
name: Perform Acceptance BDD tests
runs-on:
group: organization/Default
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Checkout mock-server action
uses: actions/checkout@v4
with:
repository: pubnub/client-engineering-deployment-tools
ref: v1
token: ${{ secrets.GH_TOKEN }}
path: .github/.release/actions
- name: Run mock server action
uses: ./.github/.release/actions/actions/mock-server
with:
token: ${{ secrets.GH_TOKEN }}
- name: Install Composer dev depenencies
run: |
composer install --dev
- name: Run acceptance tests
run: |
composer acceptance-test
- name: Cancel workflow runs for commit on error
if: failure()
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
- name: Expose acceptance tests reports
uses: actions/upload-artifact@v3
with:
name: acceptance-test-reports
path: ./tests/Acceptance/reports
all-tests:
name: Tests
needs: [tests]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Run PHPStan
run: vendor/bin/phpstan analyze --memory-limit 256M
- name: Run phpcs on changed files
run: git diff --name-only origin/master HEAD | grep -E '\.php$' | xargs vendor/bin/phpcs --standard=PSR12
run: git diff --name-only --diff-filter=d origin/master HEAD | grep -E '\.php$' | xargs vendor/bin/phpcs --standard=PSR12
- name: Cancel workflow runs for commit on error
if: failure()
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
Expand Down
11 changes: 8 additions & 3 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: php
version: 7.0.2
version: 7.1.0
schema: 1
scm: github.com/pubnub/php
changelog:
- date: 2024-11-20
version: 7.1.0
changes:
- type: feature
text: "Add custom message type support for the following APIs - publish, signal, share file, subscribe and history."
- date: 2024-10-22
version: 7.0.2
changes:
Expand Down Expand Up @@ -427,8 +432,8 @@ sdks:
- x86-64
- distribution-type: library
distribution-repository: GitHub release
package-name: php-7.0.2.zip
location: https://github.com/pubnub/php/releases/tag/7.0.2
package-name: php-7.1.0.zip
location: https://github.com/pubnub/php/releases/tag/7.1.0
requires:
- name: rmccue/requests
min-version: 1.0.0
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 7.1.0
November 20 2024

#### Added
- Add custom message type support for the following APIs - publish, signal, share file, subscribe and history.

## 7.0.2
October 22 2024

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You will need the publish and subscribe keys to authenticate your app. Get your
{
"require": {
<!-- include the latest version from the badge at the top -->
"pubnub/pubnub": "7.0.2"
"pubnub/pubnub": "7.1.0"
}
}
```
Expand Down
37 changes: 0 additions & 37 deletions acceptance.json

This file was deleted.

Loading
Loading