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

385 publish b24 php sdk beta 3 #396

Merged
merged 396 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
396 commits
Select commit Hold shift + click to select a range
7571f4d
Merge branch '306-beta-1' into 313-add-contracts-accountRepository
mesilov Oct 31, 2022
e6650ea
Merge pull request #314 from KarlsonComplete/313-add-contracts-accoun…
mesilov Oct 31, 2022
2230aa6
Merge pull request #316 from KarlsonComplete/315-add-security-file-in…
mesilov Oct 31, 2022
102c845
- add new scope code - biconnector.
Oct 31, 2022
c75b258
Merge pull request #318 from KarlsonComplete/317-add-new-scope-code-b…
mesilov Oct 31, 2022
d1c1b10
fix typehint
mesilov Oct 31, 2022
db64df2
Merge pull request #321 from mesilov/320-fix-typehint
mesilov Oct 31, 2022
3074277
fix typehint in DealCategoryItemResult
mesilov Oct 31, 2022
5b0c891
Merge pull request #323 from mesilov/322-fix-return-types
mesilov Oct 31, 2022
01d29e1
rename batch interface
mesilov Oct 31, 2022
e11cfaf
Merge pull request #325 from mesilov/324-rename-batch-interface
mesilov Oct 31, 2022
831c13a
fix contracts for apps
mesilov Oct 31, 2022
7c26161
Merge pull request #327 from mesilov/326-fix-app-contracts
mesilov Oct 31, 2022
e1a6ea5
add service builder factory
mesilov Oct 31, 2022
102e1a8
Merge pull request #329 from mesilov/328-add-service-builder-factory
mesilov Oct 31, 2022
0544bc6
add OnVoximplantCallInit and OnVoximplantCallStart
mesilov Nov 23, 2022
c834b37
add OnExternalCallStart
mesilov Nov 23, 2022
a4152a6
fix data structure in CallData
mesilov Nov 23, 2022
6a13fee
add OnVoximplantCallEnd event
mesilov Nov 23, 2022
b41b177
add OnVoximplantCallEnd event
mesilov Nov 23, 2022
e2aa435
fix OnVoximplantCallEnd event
mesilov Nov 23, 2022
43f0f3a
bump php-version
mesilov Jan 30, 2023
1be6291
bump php-version in ci
mesilov Feb 17, 2023
c939de9
fix phpdoc
mesilov Feb 17, 2023
75096b2
Merge pull request #333 from mesilov/331-add-auth-node-in-telephony
mesilov Feb 17, 2023
fc98eb5
fix undefined index error
mesilov Feb 17, 2023
5afb67b
remove phpstan check on lowest versions
mesilov Feb 17, 2023
a5f67d0
Merge pull request #334 from mesilov/332-undefined-index
mesilov Feb 17, 2023
4ef8b63
add method isError
mesilov Feb 17, 2023
72ce2e6
Merge pull request #336 from mesilov/335-add-helper-method-call-regis…
mesilov Feb 17, 2023
0fe12f1
add method isError - fix
mesilov Feb 17, 2023
1ca7de6
Merge pull request #337 from mesilov/335-add-helper-method-call-regis…
mesilov Feb 17, 2023
5e0fa47
fix non exists field operating on outdated portals
mesilov Mar 14, 2023
a9157d7
add crm multi-field type Phone
mesilov Mar 14, 2023
5a87e11
add users scope
mesilov Mar 17, 2023
e0bd1ba
move cli commands
mesilov Mar 17, 2023
c2b966c
Merge pull request #341 from mesilov/339-add-scope-user
mesilov Mar 17, 2023
8542012
Merge branch '306-beta-1' into 338-fix-return-type-for-crm-multifields
mesilov Mar 17, 2023
6f31b6b
- Создана 1 часть генерации контактов с двумя видами телефона.
Mar 19, 2023
9009ce5
- Апдейт без батча
Mar 22, 2023
0d4b2fd
- Тест на 10к
Mar 22, 2023
f369942
- Изменен тест для генерации данных !!!
Mar 23, 2023
fe616ec
- Генерация данных подкручена для нашего теста!
Mar 23, 2023
2c4a86a
Merge remote-tracking branch 'origin/add-support-for-operating-timing…
Mar 23, 2023
eacb965
- Добавлен метод update для batch работающего с контактами.
Mar 23, 2023
61b2d36
- Исправлена опечатка в описании к методу.
Mar 24, 2023
e3ffe75
add batch update for contact
mesilov Mar 27, 2023
a966704
- добавили вывод для показания суммарного operating во время запроса.
Apr 3, 2023
2fbb095
Merge pull request #342 from KarlsonComplete/add-support-for-operatin…
mesilov Apr 15, 2023
f72a293
add some code for support operating timings
mesilov Apr 15, 2023
dc8cb4e
Merge branch '306-beta-1' into 340-add-support-for-operating-timing
mesilov Aug 6, 2023
b4c54b5
fix errors after refactoring
mesilov Aug 6, 2023
e7217c9
Merge pull request #346 from mesilov/340-add-support-for-operating-ti…
mesilov Aug 6, 2023
324b587
add batch support for crm-items
mesilov Aug 7, 2023
8243632
add crm-item with batch support
mesilov Aug 13, 2023
6317849
add duplicate service and tests
mesilov Aug 13, 2023
97c833f
add cli util - copy property values
mesilov Aug 21, 2023
8f144c9
fix operating error on boxes
mesilov Aug 21, 2023
e13f921
fix errors on items tests
mesilov Aug 21, 2023
ccf72f1
change interface Bitrix24AccountInterface signature
mesilov Aug 23, 2023
5bd0182
Merge pull request #347 from mesilov/330-add-crm-item-support
mesilov Aug 23, 2023
b234953
add bitrix24 user id
mesilov Aug 26, 2023
68b4470
Merge pull request #348 from mesilov/330-add-crm-item-support
mesilov Aug 26, 2023
d2a8a89
change signatures in application contracts
mesilov Aug 28, 2023
6f677fc
Merge pull request #349 from mesilov/330-add-crm-item-support
mesilov Aug 28, 2023
6884661
add deal stage semantic id
mesilov Sep 6, 2023
b1e520c
Merge pull request #350 from mesilov/330-add-crm-item-support
mesilov Sep 6, 2023
c3be034
fix errors for scope
mesilov Sep 8, 2023
d1c057f
Merge pull request #351 from mesilov/330-add-crm-item-support
mesilov Sep 8, 2023
eb1f34a
fix errors for Core
mesilov Sep 8, 2023
8ec5051
Merge pull request #352 from mesilov/330-add-crm-item-support
mesilov Sep 8, 2023
50cf106
add new line in changelog
mesilov Nov 24, 2023
352e46d
add request id generator proto
mesilov Nov 25, 2023
f62e2db
first version
mesilov Nov 25, 2023
187ce78
Merge pull request #355 from mesilov/354-add-x-request-id-support
mesilov Nov 25, 2023
2a50cab
Add Request ID to query string parameters
mesilov Dec 9, 2023
c8e5bc8
Merge pull request #357 from mesilov/354-add-x-request-id-support
mesilov Dec 9, 2023
ea0bed3
add windows platforms in unit-tests
mesilov Jan 3, 2024
e220737
bump php version requirements
mesilov Jan 3, 2024
e52866c
add extensions
mesilov Jan 3, 2024
2fb317b
add extension intl
mesilov Jan 3, 2024
1a4278e
fix workflows
mesilov Jan 3, 2024
bfc35a9
Merge pull request #361 from mesilov/360-add-win-platforms
mesilov Jan 3, 2024
c7d4d47
Merge branch '306-beta-1' into 338-fix-return-type-for-crm-multifields
mesilov Jan 3, 2024
6a6ccef
bump php version to 8.3.*
mesilov Jan 4, 2024
5d65828
add multifields
mesilov Jan 4, 2024
1f6b226
Merge pull request #362 from mesilov/338-fix-return-type-for-crm-mult…
mesilov Jan 4, 2024
644a0ad
change query string parameter name
mesilov Jan 12, 2024
f466eb9
Merge pull request #363 from mesilov/354-add-x-request-id-support
mesilov Jan 12, 2024
3b1abfa
Implement catalog scope services
mesilov Feb 4, 2024
fe5a91c
Update GitHub workflows for multi-OS testing
mesilov Feb 17, 2024
9c977bc
Update PHP requirements and refactor README
mesilov Feb 17, 2024
e649a3c
Add catalog service functions and product service methods to SDK
mesilov Feb 18, 2024
bc9faaa
Merge pull request #365 from mesilov/364-add-catalog-scope-support
mesilov Feb 18, 2024
2794e3b
Merge pull request #366 from mesilov/306-beta-1
mesilov Feb 18, 2024
ad94742
Change data provider methods to static in tests
mesilov Feb 18, 2024
6aeacd6
Refactor constants declaration in DefaultRequestIdGenerator
mesilov Feb 18, 2024
86f0885
Update constant declaration in AbstractCrmItem
mesilov Feb 18, 2024
855cd96
Update constant declaration in AbstractCatalogItem
mesilov Feb 18, 2024
bad9929
Update release date and php support in CHANGELOG
mesilov Feb 18, 2024
949eb61
Merge pull request #367 from mesilov/306-beta-1
mesilov Feb 18, 2024
eda95ae
Merge pull request #368 from mesilov/dev
mesilov Feb 18, 2024
0ff1014
Update dependency versions in composer.json
mesilov Mar 13, 2024
ae84568
Merge pull request #374 from mesilov/373-bump-dependencies-beta2
mesilov Mar 13, 2024
f554364
Add webhook example for bitrix24-php-sdk
mesilov Mar 31, 2024
7acaf7a
Add workflow services and update changelog
mesilov Mar 31, 2024
bca3649
Add Workflow service and associated classes
mesilov Mar 31, 2024
b23306f
Add workflow start methods and related classes
mesilov Apr 1, 2024
7cefd11
Add enum `DealSemanticStage` and update property types in `DealItemRe…
mesilov Apr 3, 2024
ef0e0c6
Update version constraints in composer.json
mesilov Apr 11, 2024
a4c5246
Fix typo in psr/log version constraint in composer.json
mesilov Apr 11, 2024
e752709
Merge branch 'refs/heads/371-publish-b24-php-sdk-beta-2' into 376-add…
mesilov Apr 11, 2024
b69341f
Merge pull request #375 from mesilov/371-publish-b24-php-sdk-beta-2
mesilov Apr 12, 2024
acb3775
Add new specific workflow exceptions
mesilov Apr 20, 2024
7a74bcd
Add automation rule support for workflows
mesilov Apr 20, 2024
be9013c
Add functionality to handle Workflow Events
mesilov Apr 21, 2024
35d07bf
Update CHANGELOG.md for 2.0-beta.3 release
mesilov Apr 21, 2024
0be7858
Added new workflows and activities service functionalities
mesilov May 1, 2024
67f0abe
Update dependencies and enhance workflows in CHANGELOG
mesilov May 1, 2024
c90817a
Add workflow termination feature
mesilov May 1, 2024
7a18a3f
Add handling for 'access_denied' case in ErrorHandler
mesilov May 3, 2024
1f71b1a
Removed the integration.yml workflow
mesilov May 3, 2024
3ff8abf
Refactor Workflows services and add new features
mesilov May 3, 2024
1508d13
Add exception handling for empty updates and update service descriptions
mesilov May 4, 2024
ecb19e1
Add nesbot/carbon dependency
mesilov May 4, 2024
6a37629
Add workflow task service and related classes
mesilov May 4, 2024
5e5a7c4
Update PHPStan configuration and refactor Task service
mesilov May 5, 2024
2319b7c
Add support for completing workflow tasks
mesilov May 5, 2024
19feebe
Add Rector for static code analysis
mesilov May 23, 2024
0e2e38a
Refactor code for clarity and robustness
mesilov May 23, 2024
757a805
Add Rector to improve code quality and speed up releases
mesilov May 23, 2024
a46897b
Add new scope
mesilov May 23, 2024
fe37bee
Add workflow auth
mesilov May 24, 2024
0f9e84c
Fix type errors
mesilov May 24, 2024
248016c
Add IncomingRobotRequest.php and IncomingWorkflowRequest.php
mesilov May 26, 2024
15cb9cd
Merge pull request #377 from mesilov/376-add-bizproc-scope-support-in…
mesilov May 26, 2024
e2f001a
update changelog
mesilov May 26, 2024
04027d6
rewrite telephony scope
mesilov May 27, 2024
336fe12
delete all telephony services
mesilov May 27, 2024
378a833
delete telephony service builder
mesilov May 27, 2024
b1d6497
Add new enums and services to Telephony scope
mesilov May 28, 2024
8f23aaa
Add telephony external call service and improve error handling
mesilov May 29, 2024
5335a32
Update "ExternalCall" service with new features for telephony module
mesilov Jun 2, 2024
ef4fbbe
Refine telephony services and improve test coverage
mesilov Jun 2, 2024
c48417e
Add call transcript functionality to Telephony service
mesilov Jun 15, 2024
d877b9f
Remove destructor in Response.php
mesilov Jun 15, 2024
9bfbc93
Add new integration test suite for telephony scope
mesilov Jun 15, 2024
27de7c6
Change data type of CONTACT_ID and CONTACT_IDS
mesilov Jun 15, 2024
464f68c
Refactor variable and function names in telephony tests
mesilov Jun 15, 2024
d84705b
Add telephony external line service and tests
mesilov Jun 15, 2024
f551015
Add method to retrieve list of external lines
mesilov Jun 15, 2024
a6fecba
Add delete method in ExternalLine service
mesilov Jun 15, 2024
19ba7cd
Refactor Telephony unit tests and improve external line features
mesilov Jun 15, 2024
d822d5b
Refactor code for improved readability and performance
mesilov Jun 15, 2024
4957cf4
Refactor code, removing unnecessary imports and updating variables
mesilov Jun 15, 2024
9367dfb
Disable removal of unused imports in rector.php
mesilov Jun 15, 2024
34a99b8
Add Voximplant SIP support in telephony services
mesilov Jun 15, 2024
268e0af
Add SIP registration status functionality
mesilov Jun 15, 2024
e1cb1e0
Update SIP tests with new functionalities
mesilov Jun 15, 2024
5b4abb3
Add SIP line update function and tests
mesilov Jun 15, 2024
0a12b52
Add webhook context check and update test cases
mesilov Jun 19, 2024
01c1f4f
Add MethodConfirmWaitingException and improve error handling
mesilov Jun 19, 2024
81a12f2
Add User setting methods for Voximplant SIP
mesilov Jun 19, 2024
fa4c12a
Add AccessTokenRepositoryInterface with implementation and integratio…
mesilov Jun 19, 2024
6e0fb85
Add TTS voices and InfoCall services in Voximplant
mesilov Jun 19, 2024
af2ef1c
Add new services for managing Voximplant sip lines
mesilov Jun 20, 2024
342c730
Add Voximplant InfoCall functionalities and related tests
mesilov Jun 20, 2024
cf07aad
Add telephony scope links retrieval functionality
mesilov Jun 20, 2024
bb0d247
Add getConnectorStatus method to Sip service
mesilov Jun 20, 2024
67fef65
Add telephony events and EventManager for handling them
mesilov Jun 26, 2024
d095e06
Update TelephonyEventsFabric and CHANGELOG.md
mesilov Jun 27, 2024
f1688fb
Remove OnApplicationInstall and OnApplicationUninstall Auth classes
mesilov Jun 27, 2024
88532aa
Update changelog
mesilov Jun 27, 2024
6206e35
Merge pull request #388 from mesilov/384-update-scope-telephony
mesilov Jun 27, 2024
6c38917
Fix typecast error for User ID
mesilov Jun 27, 2024
ca7afda
Merge pull request #391 from mesilov/feature/382-wrong-typehint-for-b…
mesilov Jun 27, 2024
5f37207
Add default arguments handling in User.get method
mesilov Jun 29, 2024
2c4ba3f
Merge pull request #392 from mesilov/bugfix/381-fix-default-arguments
mesilov Jun 29, 2024
8ba6792
Add BatchGetTraversableTest and update CHANGELOG
mesilov Jun 29, 2024
f739ac3
Add Core directory to Rector paths
mesilov Jun 30, 2024
0d3537a
Refactor code for better clarity and efficiency
mesilov Jun 30, 2024
9c6c4fa
Refactor DTO classes, optimizing methods and properties
mesilov Jun 30, 2024
81be564
Update 'order' array population in Batch.php
mesilov Jun 30, 2024
5811210
Add integration tests for Core and update exceptions
mesilov Jun 30, 2024
22871a0
Refactor Credentials constructor and simplify code
mesilov Jun 30, 2024
95e6457
Merge pull request #394 from mesilov/bugfix/389-limit-argument-not-wo…
mesilov Jun 30, 2024
ef7d303
Replace `ramsey/uuid` with `symfony/uid` package
mesilov Jul 2, 2024
67c94ce
Merge pull request #397 from mesilov/feature/393-migrate-from-ramsey-…
mesilov Jul 2, 2024
074556e
Remove Bitrix24Account contracts
mesilov Jul 2, 2024
ec85cca
Add Bitrix24AccountInterface and Bitrix24AccountStatus
mesilov Jul 3, 2024
86ab8a2
Remove numerous obsolete documentation files
mesilov Jul 4, 2024
1494ffe
Add Bitrix24AccountRepositoryInterface and update exceptions in Bitri…
mesilov Jul 4, 2024
4f36a8c
Rename AccessToken to AuthToken and refactor related codes
mesilov Jul 4, 2024
a8cd3ae
Update import paths and references in ServiceBuilderFactory
mesilov Jul 4, 2024
9a8c297
Replace AccessToken with AuthToken
mesilov Jul 4, 2024
757a7aa
Replace AccessToken with AuthToken in tests
mesilov Jul 4, 2024
26e3a34
Refactor authToken parameters in Core classes
mesilov Jul 4, 2024
b60fbd1
Add Bitrix24AccountInterface test entity implementation
mesilov Jul 4, 2024
c8612c9
Update bitrix24 account interface and other related tests
mesilov Jul 6, 2024
e4e36a8
Update method in ApplicationStatusTest
mesilov Jul 6, 2024
b460b22
Add sorting and equality function to Scope
mesilov Jul 6, 2024
5da2ef1
Add new test case and refactor ScopeTest
mesilov Jul 6, 2024
d04c08a
Add additional tests and improve account status change
mesilov Jul 6, 2024
2afc7d6
Refactor tests and classes to use PHP attributes
mesilov Jul 6, 2024
ed0aeda
Refactor AccessToken to AuthToken in SDK tests
mesilov Jul 7, 2024
02e9278
Add AuthTokenRepositoryInterface
mesilov Jul 7, 2024
075a612
Add Bitrix24Accounts documentation
mesilov Jul 7, 2024
c98cbd7
Add Bitrix24Accounts documentation
mesilov Jul 7, 2024
6998a36
Update Bitrix24AccountRepositoryInterface with new methods
mesilov Jul 7, 2024
93bf2aa
Update Bitrix24Accounts documentation
mesilov Jul 7, 2024
a362fa3
Add Bitrix24Account Events and update documentation
mesilov Jul 10, 2024
60bac53
Add contact person entities and interface, update dependencies
mesilov Jul 13, 2024
cca7f46
Update DemoDataGenerator and ContactPerson entity methods
mesilov Jul 21, 2024
269db81
Add InMemoryContactPersonRepositoryImplementation and tests
mesilov Jul 21, 2024
9985327
Update method calls in InfoCallTest
mesilov Jul 21, 2024
0e9e091
Refactor code for improved readability and consistency
mesilov Jul 21, 2024
48d9e99
Refactor variable names for better clarity
mesilov Jul 21, 2024
85a0ab7
Update ContactPersonRepository findByExternalId method
mesilov Jul 21, 2024
c8631b5
Update variable names for clarity
mesilov Jul 21, 2024
5707f4c
Add PHPStan ignore line to test
mesilov Jul 21, 2024
94cb6d5
Update PHPUnit fail settings
mesilov Jul 21, 2024
b94e677
Refactor test files and update phpunit configuration
mesilov Jul 21, 2024
00a3f89
Add ContactPerson event classes and documentation
mesilov Jul 22, 2024
e6ff656
Add application installation interface and Bitrix24 ID to contact person
mesilov Jul 23, 2024
e4ec9ba
Add application installation status handling
mesilov Jul 24, 2024
5225c39
Add Bitrix24 partner ID handling to contact persons
mesilov Jul 26, 2024
002cb45
Add bitrix24PartnerId/Uuid to ContactPerson entities
mesilov Jul 26, 2024
072522b
Add ApplicationInstallation reference entity implementation
mesilov Jul 27, 2024
a90c5b8
Add validation and update tests for application status
mesilov Jul 27, 2024
6ac7071
Implement stricter status checks and extend test coverage
mesilov Jul 28, 2024
f837d4c
Add validation and repository interface for installations
mesilov Jul 28, 2024
9abee5e
Add repository interface and tests for installations
mesilov Jul 28, 2024
4da0f91
Add Bitrix24Partner status and interface
mesilov Jul 30, 2024
35f136d
Add Bitrix24 Partners Repository and Entity Implementation
mesilov Aug 6, 2024
509f3de
Bump phpstan version to 1.11.7
mesilov Aug 6, 2024
64e7577
Switch to NullLogger for InMemory repository implementations
mesilov Aug 6, 2024
b890fc4
Enhance README with formatting and additional details
mesilov Aug 6, 2024
f67bc8a
Merge pull request #398 from mesilov/feature/383-refactor-app-contrac…
mesilov Aug 6, 2024
406adb6
Update CHANGELOG.md for new target release date
mesilov Aug 10, 2024
c4ea91f
Switch from DateTimeImmutable to CarbonImmutable
mesilov Aug 11, 2024
e6b817b
Add discount fields and types to CRM models
mesilov Aug 12, 2024
7dae75d
Add enums and data filtering in CRM services
mesilov Aug 17, 2024
9adf3a7
Add custom Bitrix24 assertion and integration test.
mesilov Aug 17, 2024
ca24152
Add API metadata attributes and command for coverage docs
mesilov Aug 18, 2024
86534fe
Add API metadata annotations and update notification methods
mesilov Aug 24, 2024
2699496
Remove outdated examples directory
mesilov Aug 25, 2024
db898e5
Remove local application files and update examples
mesilov Aug 26, 2024
e2285fb
Move "Sponsors" section down
mesilov Aug 26, 2024
17532dc
Update copyright in files
mesilov Aug 27, 2024
94f43ba
Merge pull request #399 from mesilov/feature/390-prepare-publish-2-0
mesilov Aug 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
custom: ["https://boosty.to/bitrix24-php-sdk"]
13 changes: 6 additions & 7 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@ name: PHPStan checks
jobs:
static-analysis:
name: "PHPStan"
runs-on: "ubuntu-latest"
runs-on: ${{ matrix.operating-system }}

strategy:
fail-fast: false
matrix:
php-version:
- "7.4"
- "8.0"
dependencies:
- "lowest"
- "highest"
- "8.2"
- "8.3"
dependencies: [ highest ]
operating-system: [ ubuntu-latest, windows-latest ]

steps:
- name: "Checkout"
Expand All @@ -28,7 +27,7 @@ jobs:
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
extensions: mbstring
extensions: json, bcmath, curl, intl, mbstring
tools: composer:v2

- name: "Install lowest dependencies"
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "PHPUnit tests"

on:
- push
- pull_request
push:
pull_request:

env:
COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist"
Expand All @@ -11,13 +11,16 @@ jobs:
tests:
name: "PHPUnit tests"

runs-on: ubuntu-latest
runs-on: ${{ matrix.operating-system }}

strategy:
fail-fast: false
matrix:
php-version:
- "7.4"
- "8.2"
- "8.3"
dependencies: [ highest ]
operating-system: [ ubuntu-latest, windows-latest ]

steps:
- name: "Checkout"
Expand All @@ -28,6 +31,7 @@ jobs:
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
extensions: json, bcmath, curl, intl, mbstring

- name: "Install dependencies"
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
name: "Integration tests"
name: "Vendor integration tests"

on:
push:
branches:
- dev
pull_request:
# run integration tests from vendor CI\CD pipeline with webhook
repository_dispatch:
types: [ run_vendor_integration_tests ]

env:
COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist"
BITRIX24_PHP_SDK_PLAYGROUND_WEBHOOK: ${{ secrets.BITRIX24_PHP_SDK_PLAYGROUND_WEBHOOK }}
TEST2_ENV: 12345

jobs:
tests:
name: "Integration tests"
name: "Vendor integration tests"

runs-on: ubuntu-latest
runs-on: ${{ matrix.operating-system }}

strategy:
matrix:
php-version:
- "7.4"
- "8.2"
- "8.3"
dependencies: [ highest ]
operating-system: [ ubuntu-latest, windows-latest ]

steps:

Expand Down Expand Up @@ -50,12 +50,12 @@ jobs:
run: |
composer phpunit-run-integration-tests

- name: "is integration tests succeeded"
- name: "integration tests succeeded"
if: ${{ success() }}
run: |
echo '✅ integration tests pass, congratulations!'

- name: "is integration tests failed"
- name: "integration tests failed"
if: ${{ failure() }}
run: |
echo '::error:: ❗️iteintegration tests failed '
echo '::error:: ❗integration tests failed (╯°益°)╯彡┻━┻'
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
/.idea*
/app
vendor
composer.phar
composer.lock
.phpunit.result.cache
tools/.env.local
tools/logs
tests/ApplicationBridge/auth.json
examples/logs
*.log
.env.local
Loading
Loading