fix: changelog workflow and improve test coverage - #182
Merged
Conversation
The release workflow was pushing directly to main, which fails under branch protection and ignored tags created from 5.x. Resolve the branch from the release target, update CHANGELOG there, and open an auto-merge PR instead. Co-authored-by: Cursor <cursoragent@cursor.com>
Add unit tests for core modules, plugins, and service provider behavior. Exclude command scaffolding from coverage metrics, fix packagePath() and stub resolution, and extend test module helpers for Filament panels and plugins. Co-authored-by: Cursor <cursoragent@cursor.com>
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
Normalize stub and module output paths to the platform directory separator so generator tests and file resolution behave consistently on Windows CI runners. Co-authored-by: Cursor <cursoragent@cursor.com>
Run Laravel 11, 12, and 13 testbench combinations on PHP 8.5 alongside the existing 8.3 and 8.4 jobs. Co-authored-by: Cursor <cursoragent@cursor.com>
Laravel 11 does not support PHP 8.5 reliably; keep 8.5 coverage on Laravel 12 and 13 only. Co-authored-by: Cursor <cursoragent@cursor.com>
Exercise all prompt hint match branches, stub replacement formats, view path resolution, and module prompt metadata. Co-authored-by: Cursor <cursoragent@cursor.com>
…rovider Add unit tests for panel discovery edge cases, plugin registration and navigation, provider auto-discovery, stub publishing, and optional package configuration paths. Co-authored-by: Cursor <cursoragent@cursor.com>
Fail Pest coverage runs below 98% locally and in CI, and align Codecov project and patch status checks with the same target. Co-authored-by: Cursor <cursoragent@cursor.com>
Exercise the install command endWith callback so config publishing and package setup are verified in CI. Co-authored-by: Cursor <cursoragent@cursor.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
target_commitish, with a tag-based fallback) so releases tagged from5.xupdateCHANGELOG.mdon5.xinstead ofmain.Modules::packagePath(), and correct stub path resolution inGeneratesModularFiles.src/Commands/**and unused concern traits from coverage reporting.Test plan
vendor/bin/pest --ci(57 tests)./vendor/bin/phpstan analyse5.x