Skip to content
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ composer-require-* export-ignore
Makefile export-ignore
Dockerfile export-ignore
infection.* export-ignore
testo.php export-ignore
tests export-ignore
docs export-ignore
resources/mock export-ignore
Expand Down
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

"tests":
- changed-files:
- any-glob-to-any-file: ['tests/**/*', 'phpunit*', 'psalm*']
- any-glob-to-any-file: ['tests/**/*', 'testo.php', 'psalm*']

...
7 changes: 2 additions & 5 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
- name: πŸ› οΈ Setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: πŸ€– Validate composer.json and composer.lock
run: composer validate --ansi --strict
Expand All @@ -50,13 +49,13 @@ jobs:
with:
dependency-versions: ${{ matrix.dependencies }}

- name: πŸ§ͺ Collect code coverage with Xdebug and PhpUnit
- name: πŸ§ͺ Collect code coverage with Xdebug and Testo
run: composer test:cc

- name: πŸ“€ Upload code coverage report to Codecov
uses: codecov/codecov-action@v4
with:
files: runtime/phpunit/logs/clover.xml
files: runtime/coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

Expand All @@ -72,7 +71,6 @@ jobs:
os:
- ubuntu-latest
php-version:
- '8.1'
- '8.2'
- '8.3'
- '8.4'
Expand All @@ -94,7 +92,6 @@ jobs:
- name: πŸ› οΈ Setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: πŸ€– Validate composer.json and composer.lock
run: composer validate --ansi --strict
Expand Down
30 changes: 15 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"require": {
"php": ">=8.1",
"php": ">=8.2",
"composer/semver": "^3.4",
"internal/destroy": "^1.0",
"internal/path": "^1.2",
Expand All @@ -37,11 +37,13 @@
"require-dev": {
"buggregator/trap": "^1.15",
"dereuromark/composer-prefer-lowest": "^0.1.10",
"phpunit/phpunit": "^10.5",
"llm/skills": "^1.9",
"roxblnfk/unpoly": "^1.8.1",
"spiral/code-style": "^2.2.2",
"ta-tikoma/phpunit-architecture-test": "^0.8.5",
"vimeo/psalm": "^6.10"
"spiral/code-style": "^2.3.1",
"testo/bridge-mockery": "^0.1.2",
"testo/bridge-rector": "^0.2.2",
"testo/testo": "^0.10.40",
"vimeo/psalm": "^6.10 || ^7.0"
},
"suggest": {
"ext-simplexml": "to support XML configs parsing"
Expand All @@ -64,7 +66,8 @@
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"infection/extension-installer": true
"infection/extension-installer": true,
"llm/skills": true
},
"audit": {
"abandoned": "report"
Expand Down Expand Up @@ -93,23 +96,20 @@
"refactor": "rector process --config=rector.php",
"refactor:ci": "rector process --config=rector.php --dry-run --ansi",
"test": [
"phpunit --color=always --no-coverage"
"testo --ansi --no-coverage"
],
"test:unit": [
"@putenv XDEBUG_MODE=coverage",
"phpunit --color=always --testsuite=Unit"
"testo --ansi --no-coverage --suite=Unit"
],
"test:arch": [
"@putenv XDEBUG_MODE=coverage",
"phpunit --color=always --testsuite=Arch"
"test:integration": [
"testo --ansi --no-coverage --suite=Integration"
],
"test:acc": [
"@putenv XDEBUG_MODE=coverage",
"phpunit --color=always --testsuite=Acceptance"
"testo --ansi --no-coverage --suite=Acceptance"
],
"test:cc": [
"@putenv XDEBUG_MODE=coverage",
"phpunit --coverage-clover=runtime/phpunit/logs/clover.xml --color=always"
"testo --ansi --coverage-clover=runtime/coverage/clover.xml"
]
}
}
Loading
Loading