Skip to content

Commit 2cd05ff

Browse files
author
Sebastian Molenda
authored
Samples-as-a-tests
1 parent fe2d288 commit 2cd05ff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+4258
-214
lines changed

.codacy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
exclude_paths:
3+
- "tests/**"
4+
- "examples/**"

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
composer self-update && composer --version
6262
composer install --prefer-dist
6363
- name: Run unit tests
64-
run: vendor/bin/phpunit --verbose
64+
run: composer test
6565
- name: Cancel workflow runs for commit on error
6666
if: failure()
6767
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
],
1515
"scripts": {
16-
"test": "./vendor/bin/phpunit tests/ --verbose --coverage-clover=coverage.clover",
16+
"test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-text=coverage.txt --verbose ./tests",
1717
"acceptance-test": [
1818
"mkdir -p tests/Acceptance/reports",
1919
"cp sdk-specifications/features/publish/publish-custom-mssg-type.feature tests/Acceptance/CustomMessageType/publish-custom-mssg-type.feature",

0 commit comments

Comments
 (0)