generated from yii2-extensions/template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add mutation testing configuration and update PHPUnit schema location.
#12
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
Closed
Closed
Changes from 5 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
c3916ea
feat: Add mutation testing configuration and update `PHPUnit` schema …
terabytesoftw 023fa50
test: Add test for shifting left and right attributes after deleting …
terabytesoftw 1dbbb17
test: Rename test for shifting left and right attributes after deleti…
terabytesoftw d039c60
feat: Update mutation testing configuration and clean up JSON files.
terabytesoftw fd62276
feat: Update mutation testing configuration and remove minimum stabil…
terabytesoftw d885491
test: Enhance deletion tests for tree nodes and verify attribute shifts.
terabytesoftw d6d891b
feat: Update mutation testing workflow to include static analysis com…
terabytesoftw daf60d7
fix: Simplify composer command in mutation testing workflow.
terabytesoftw e6af6b2
feat: Add phpStan configuration to `infection.json5`.
terabytesoftw 6c1c41a
feat: Add log verbosity option to mutation testing command.
terabytesoftw af317f9
test: Refactor deletion tests to improve clarity and accuracy of node…
terabytesoftw 139b336
Apply fixes from StyleCI
StyleCIBot 1f7d3a2
fix: Correct left-right attribute shifting logic in `NestedSetsBehavi…
terabytesoftw 7e15a56
fix: Adjust left-right attribute shifting logic in `NestedSetsBehavior`.
terabytesoftw 1ce4a5b
fix: Improve null handling for left-right attribute values in `afterU…
terabytesoftw d1b8234
refactor: Simplify node movement logic in `afterUpdate()` and `before…
terabytesoftw 0f780ca
Apply fixes from StyleCI
StyleCIBot 176fc76
fix: Use nullsafe operator for node check in beforeInsert method and …
terabytesoftw 623460c
fix: Remove unnecessary node refresh calls in beforeInsert and before…
terabytesoftw 68a3895
fix: Correct left-right attribute shifting logic in `NestedSetsBehavi…
terabytesoftw 7a0b9c6
fix: Correct logic for appending nodes in `NestedSetsBehavior` and ad…
terabytesoftw 053f00a
test: Add tests for appending nodes to existing child nodes and verif…
terabytesoftw 9c40d4b
fix: Update right attribute handling in beforeInsertNode for appendin…
terabytesoftw 0176e5e
fix: Simplify mutation job configuration by removing unnecessary comm…
terabytesoftw 49aac8a
fix: Add tools configuration for infection in mutation job.
terabytesoftw 4786d28
fix: Remove unnecessary tools configuration from mutation job.
terabytesoftw 483e39e
fix: Correct typo in development configuration for mutation job.
terabytesoftw e731f47
fix: Correct typo in development configuration in mutation job.
terabytesoftw 43ca033
Merge branch 'main' into fix-mini-8
terabytesoftw c4ef00b
Merge branch 'main' into fix-mini-8
terabytesoftw b4f9f58
Merge branch 'main' into fix-mini-8.
terabytesoftw e73830d
Merge branch 'main' into fix-mini-8
terabytesoftw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| on: | ||
| pull_request: | ||
| paths-ignore: | ||
| - 'docs/**' | ||
| - 'README.md' | ||
| - 'CHANGELOG.md' | ||
| - '.gitignore' | ||
| - '.gitattributes' | ||
|
|
||
| push: | ||
| paths-ignore: | ||
| - 'docs/**' | ||
| - 'README.md' | ||
| - 'CHANGELOG.md' | ||
| - '.gitignore' | ||
| - '.gitattributes' | ||
|
|
||
| name: mutation test | ||
|
|
||
| jobs: | ||
| mutation: | ||
| uses: php-forge/actions/.github/workflows/infection.yml@main | ||
| with: | ||
| command-options: --static-analysis-tool=phpstan --threads=2 --ignore-msi-with-no-mutations --only-covered | ||
| composer-command: composer require --dev infection/infection:dev-master | ||
| secrets: | ||
| STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,14 @@ | ||
| { | ||
| "source": { | ||
| "directories": [ | ||
| "src" | ||
| ] | ||
| }, | ||
| "$schema": "vendor/infection/infection/resources/schema.json", | ||
| "logs": { | ||
| "text": "php:\/\/stderr", | ||
| "stryker": { | ||
| "report": "main" | ||
| } | ||
| }, | ||
| "mutators": { | ||
| "@default": true | ||
| "source": { | ||
| "directories": [ | ||
| "src" | ||
| ] | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.