-
Notifications
You must be signed in to change notification settings - Fork 10
Add filter to ExampleFiles.common.v4 #161
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
Conversation
WalkthroughThe changes remove a workaround for the ModuleBuilder patch from the CI pipeline, update the changelog to reflect recent fixes and removals, correct a comment typo, and modify the example files test to filter out excluded files using a dedicated filter function. Changes
Sequence Diagram(s)sequenceDiagram
participant TestRunner as ExampleFiles.common.v4.Tests.ps1
participant FileSystem as File System
participant Filter as WhereSourceFileNotExcluded
TestRunner->>FileSystem: Get all *.ps1 files recursively under Examples/
FileSystem-->>TestRunner: List of *.ps1 files
TestRunner->>Filter: Filter files using WhereSourceFileNotExcluded
Filter-->>TestRunner: Filtered list of files
loop For each filtered file
TestRunner->>TestRunner: Run example file test
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changes
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@johlju, can you take a look please. |
johlju
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a comment that might not need fixing.
|
FYI. I have strained my arm (repetitive strain injury) so need to stay of computers (and phone) as much as possible for a while - very hard when computers are the hobby 😄 So I might not answer as fast as usual. |
Time to practice computing just using your healthy arm! |
|
Back to the filter discussion, the testing I have just undertaken required the parameter on the filter for any exclusions to work. |
johlju
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 5 files at r1, 3 of 3 files at r2, 1 of 1 files at r4, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @dan-hughes)
Pull Request (PR) description
Add source filter to
ExampleFiles.common.v4to match other files.This Pull Request (PR) fixes the following issues
Task list
Entry should say what was changed and how that affects users (if applicable), and
reference the issue being resolved (if applicable).
This change is